diff --git a/src/Service/ServiceEndpoint.php b/src/Service/ServiceEndpoint.php index 5fbcecf..d62bbbd 100644 --- a/src/Service/ServiceEndpoint.php +++ b/src/Service/ServiceEndpoint.php @@ -101,9 +101,9 @@ public function getNumRequests(): int return $this->num_requests; } - public function getProcessingTime(): float + public function getProcessingTime(): int { - return $this->processing_time * 1e9; + return round($this->processing_time * 1e9); } public function resetStats(): void