PollTimings constructor

const PollTimings({
  1. required int rpcMicros,
  2. int? decodeMicros,
  3. required int parseMicros,
  4. required int dispatchMicros,
  5. required int tailMicros,
  6. required int eventCount,
  7. required int? responseChars,
  8. required int duplicatesDropped,
  9. required DateTime completedAt,
  10. bool windowFallback = false,
  11. int dispatchDetectorsMicros = 0,
  12. int dispatchCorrelateMicros = 0,
  13. int dispatchAggregateMicros = 0,
  14. int dispatchOtherMicros = 0,
  15. int tailCpuSamplesMicros = 0,
  16. int tailAllocationProfileMicros = 0,
  17. int tailMemoryMicros = 0,
})

Creates a timings record. Durations and counts are non-negative; responseChars and decodeMicros are null when the raw response could not be matched to the timeline request.

Implementation

const PollTimings({
  required this.rpcMicros,
  this.decodeMicros,
  required this.parseMicros,
  required this.dispatchMicros,
  required this.tailMicros,
  required this.eventCount,
  required this.responseChars,
  required this.duplicatesDropped,
  required this.completedAt,
  this.windowFallback = false,
  this.dispatchDetectorsMicros = 0,
  this.dispatchCorrelateMicros = 0,
  this.dispatchAggregateMicros = 0,
  this.dispatchOtherMicros = 0,
  this.tailCpuSamplesMicros = 0,
  this.tailAllocationProfileMicros = 0,
  this.tailMemoryMicros = 0,
});