update
This commit is contained in:
parent
3d63bc4667
commit
a187d0a0e0
@ -49,7 +49,7 @@ private:
|
|||||||
const decltype(std::chrono::system_clock::now()) start;
|
const decltype(std::chrono::system_clock::now()) start;
|
||||||
const std::string_view name;
|
const std::string_view name;
|
||||||
public:
|
public:
|
||||||
Spent(std::string_view name)noexcept:start(std::chrono::system_clock::now()),name(name){
|
Spent(const std::string_view name)noexcept:start(std::chrono::system_clock::now()),name(name){
|
||||||
zt::print("[Timer: ",name,"]"," Start timing","\n");
|
zt::print("[Timer: ",name,"]"," Start timing","\n");
|
||||||
}
|
}
|
||||||
~Spent()noexcept{
|
~Spent()noexcept{
|
||||||
|
Loading…
Reference in New Issue
Block a user