Mercurial > minori
diff include/core/session.h @ 48:e613772f41d5
statistics.cpp: show requests made
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 25 Sep 2023 01:07:22 -0400 |
parents | d8eb763e6661 |
children | 75c804f713b2 |
line wrap: on
line diff
--- a/include/core/session.h Mon Sep 25 00:43:38 2023 -0400 +++ b/include/core/session.h Mon Sep 25 01:07:22 2023 -0400 @@ -6,7 +6,7 @@ struct Session { Config config; Session() { timer.start(); } - void AppendRequest() { requests++; }; + void IncrementRequests() { requests++; }; int GetRequests() { return requests; }; int uptime() { return timer.elapsed(); }