X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/1a7e3f61d38d679bba59130891c2031b5a0092b6..bd6521f0fc816ab056bc71376f9706a69b3b52c1:/CPPUtil/UtilTimer.hpp diff --git a/CPPUtil/UtilTimer.hpp b/CPPUtil/UtilTimer.hpp new file mode 100644 index 0000000..4247eab --- /dev/null +++ b/CPPUtil/UtilTimer.hpp @@ -0,0 +1,23 @@ +// +// UtilTimer.h +// CPPUtil +// +// Created by James McIlree on 10/9/13. +// Copyright (c) 2013 Apple. All rights reserved. +// + +#ifndef __CPPUtil__UtilTimer__ +#define __CPPUtil__UtilTimer__ + +class Timer { + protected: + AbsTime _start; + AbsTime _end; + std::string _message; + + public: + Timer(const char* message); + ~Timer(); +}; + +#endif /* defined(__CPPUtil__UtilTimer__) */