Uff, vaya coñazo!
La tabla me parece errónea (yo le pondría en vez de "INICIO" y "FIN", dos campos que fueran FechaInicio, y FechaFin!), pero bueno...
mas o menos, esta es la idea
Código PHP:
$sql->query("SELECT * FROM tablaeventos");
$tiempo = 0;
while($inicio = $sql->fetch()) {
//SUPONIENDO QUE SIEMPRE SEA UN INICIO EL PRIMER REGISTRO, Y UN FINAL EL SIGUIENTE
$fin = $sql->fetch();
$tiempo += (strtotime($fin['fecha'])-strtotime($inicio['fecha']));
}
echo "Han pasado ".$tiempo." segundos";
No se si ves la idea ;)