Files
MP-SPDZ/Tools/TimerWithComm.h
Marcel Keller e07d9bf2a3 Maintenance.
2022-01-11 16:05:26 +11:00

24 lines
400 B
C++

/*
* TimerWithComm.h
*
*/
#ifndef TOOLS_TIMERWITHCOMM_H_
#define TOOLS_TIMERWITHCOMM_H_
#include "time-func.h"
#include "Networking/Player.h"
class TimerWithComm : public Timer
{
NamedCommStats total_stats, last_stats;
public:
void start(const NamedCommStats& stats = {});
void stop(const NamedCommStats& stats = {});
double mb_sent();
};
#endif /* TOOLS_TIMERWITHCOMM_H_ */