engine
 
载入中...
搜索中...
未找到
所有成员列表
TScopedDurationThreadSafeTimer< ThreadSafeCounterClass > 模板类 参考

Utility class for tracking the duration of a scoped action to an accumulator in a thread-safe fashion. 更多...

#include <ScopedTimers.h>

详细描述

template<typename ThreadSafeCounterClass>
class TScopedDurationThreadSafeTimer< ThreadSafeCounterClass >

Utility class for tracking the duration of a scoped action to an accumulator in a thread-safe fashion.

Can accumulate into a 32bit or 64bit counter.

ThreadSafeCounterClass is expected to be a thread-safe type with a non-static member Add(uint32) that will work correctly if called from multiple threads simultaneously.


该类的文档由以下文件生成: