diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-08 21:58:02 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-08 21:58:02 -0500 |
| commit | 54bf7e1fa230c78e98f429559b51a6be42f29e4a (patch) | |
| tree | acd8aa44fbd5d470bcebce5bbad8c105d6f9ea3d /src/main.cpp | |
| parent | 346a6babdf6263568b7fe20b9019d3f4ca0d68f4 (diff) | |
timings
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index ad074501..8f99cf1d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,8 @@ int forwardToPrimary(SingleInstance& instance, const cl::CommandLine& cl); int main(int argc, char *argv[]) { + TimeThis tt("main()"); + MOShared::SetThisThreadName("main"); setExceptionHandlers(); @@ -35,6 +37,8 @@ int main(int argc, char *argv[]) return forwardToPrimary(instance, cl); } + tt.stop(); + return app.run(instance); } |
