Make the timing consitent in simulation

This commit is contained in:
Kevin Hoxha 2022-11-08 15:31:33 -08:00 committed by Lukas Joswiak
parent 036b6ac4df
commit 6c729e7f25
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#ifndef FDBRPC_TIMED_REQUEST_H
#define FDBRPC_TIMED_REQUEST_H
#include "flow/network.h"
#pragma once
#include <fdbrpc/fdbrpc.h>
@ -35,7 +36,7 @@ public:
TimedRequest() {
if (!FlowTransport::isClient()) {
_requestTime = timer();
_requestTime = g_network->timer();
} else {
_requestTime = 0.0;
}