marker.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 33 行
H
33 行
// marker.h,v 1.3 2000/09/02 23:58:42 coryan Exp
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
class Marker
{
public:
void accumulate_into (ACE_Throughput_Stats &throughput,
int which_method) const;
// Accumulate the throughput statistics into <throughput>
void dump_stats (const char* msg,
ACE_UINT32 gsf,
int which_method);
// Print stats
void sample (ACE_hrtime_t throughput_diff,
ACE_hrtime_t latency_diff,
int which_method);
// get the sample.
private:
ACE_Throughput_Stats throughput_method_ready_;
// Keep throughput statistics on a per-thread basis
ACE_Throughput_Stats throughput_method_authenticate_;
// Keep throughput statistics on a per-thread basis
ACE_Throughput_Stats throughput_method_update_records_;
// Keep throughput statistics on a per-thread basis
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?