로딩중...
검색중...
일치하는것 없음
scopeLog.hpp
이 파일의 문서화 페이지로 가기
1
2
#pragma once
3
4
#include "
clog/common.hpp
"
5
6
namespace
by {
13
class
_nout
scopeLog
:
public
end
{
14
BY(ME(
scopeLog
,
end
))
15
16
public
:
17
scopeLog
(
const
std::function<
void
(
nllong
)>& l);
18
19
private
:
20
static
nllong
_measureNow();
21
22
private
:
23
nllong
_prev;
24
};
25
}
// namespace by
common.hpp
by::end
Deferred execution utility similar to defer keyword in other languages
Definition
end.hpp:36
by::scopeLog
Helper class to finalize scope logging with elapsed time.
Definition
scopeLog.hpp:13
by::tweak
Weak reference smart pointer with type-safe access
Definition
tweak.hpp:16
to Top