double divide(Duration duration) { if (isEmpty || duration.isEmpty) return 0.0; return inMicroseconds / duration.inMicroseconds.toDouble(); }