Commit Graph

42 Commits (8a32d6b675b92fedc4dc4ea73662ac8415d14606)

Author SHA1 Message Date
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett ea31d8f26c add resize to scoped buffer to allow better usage in the GP assignment 2024-02-14 15:21:59 -05:00
Brett 3473247e6c what changed? 2024-02-13 23:49:18 -05:00
Brett e28f30bcec fix uninit error 2023-11-09 15:28:17 -05:00
Brett 9c712402f3 profiler_v2 seems to be completely functional 2023-10-05 01:48:54 -04:00
Brett ab24a8733b add partial API compatability with profiler v1
the general idea is the same however due to how profiles are handled after calling write or print profile the intervals inside are no longer valid.
(they are deleted and will be removed from the internal hashmap)
print profile is also now consistent with the new API, old calls will need to be updated.
2023-10-05 01:40:36 -04:00
Brett 3266a7b102 fix profiler disable macro 2023-10-05 01:31:54 -04:00
Brett 620c8b9e33 auto_interval, formatting see details for information
auto_interval now accepts an interval_t* which must be created manually. allows for clean RAII
format now switches to seconds after 1000ms instead of after 100ms. This feels more natural
2023-10-05 01:18:47 -04:00
Brett fd3eb73008 profiler_v2 is WIP. seems to work but isn't fully tested 2023-10-04 01:39:43 -04:00
Brett 029132c622 macro sackro allocator get fuckedero 2023-09-21 23:23:27 -04:00
Brett f5069859c5 Merge remote-tracking branch 'github/main' 2023-07-21 03:56:11 -04:00
Brett 889f24d402 logging 2.0 is almost at first working build 2023-07-21 03:32:42 -04:00
Brett 58ba957b1d working on logging 2.0. Format defined, custom tags added. 2023-07-20 22:38:17 -04:00
Brett 7033474455 memory\!, working on logging! 2023-07-20 21:44:52 -04:00
Brett d06c7ebeb6 String buffer 2023-07-10 18:45:43 -04:00
Brett 5116981057 add prefix to LOG_LEVEL 2023-04-08 12:44:31 -04:00
Brett 4ec0a1d614 Minor change to test jenkins 2023-03-30 21:48:31 -04:00
Brett b62d4bfe78 update vector and fix profile memory usage 2023-03-06 21:29:04 -05:00
Brett 5d493a6493 cleanup printing
remove the needless addition of \n to the end of lines
2023-03-04 11:52:54 -05:00
Brett 643053c409 Ignore negative values by default 2023-03-04 11:46:37 -05:00
Brett 811cdff8d1 refactor profiler
code is now much more clean
	-removed ugly nested loops
	-used functions to reduce code clutter and duplcation
removed redundant functions
cleaned up sort and improved names
2023-03-04 11:42:24 -05:00
Brett 0aab8d789c Add option to ignore negatives 2023-02-14 22:32:23 -05:00
Brett 70a8e3b2ff Add historical intervals to the profiler print (disabled by default) 2023-02-14 22:28:58 -05:00
Brett ed3dfb3dc3 Introduce scoped intervals 2023-02-14 22:22:48 -05:00
Brett 001b6ae46a Add history to intervals 2023-02-14 22:06:30 -05:00
Brett cbc703b852 Cleaned up logging and added file location + line number 2023-02-08 17:22:27 -05:00
Brett 483713b265 tests cleanup, NBT UTF
The UTF8 implementaion is ripped from openjdk-source's java source code, adapted by me for c++
2023-01-29 15:24:33 -05:00
Brett 8ec971f8ce Printing 2023-01-26 12:21:19 -05:00
Brett e58f20d16e Better profiler 2023-01-26 00:59:36 -05:00
Brett 5e1deefe48 Add time to the log output 2023-01-23 23:53:37 -05:00
Brett 4a5c1799ce Fix delete function for dual children nodes 2023-01-12 23:11:17 -05:00
Brett fa18b01220 Working on binary trees 2023-01-10 10:45:11 -05:00
Brett beff47b8f0 Randoms, String refactor, Time, System, + Profiler improvements 2023-01-05 01:52:56 -05:00
Brett 1587f342ad Randoms + Metaprogramming test.
Added randoms using C++ templates. Might be able to change the profiler class to a template template without the need of the config file.
2023-01-04 14:35:57 -05:00
Brett 4330e9940d Point adjustments 2022-12-29 00:58:54 -05:00
Brett c6e173a34e Basic intervals on the profiler 2022-12-29 00:56:37 -05:00
Brett 7cf07bb5c0 Typedefs for maps 2022-12-27 00:51:37 -05:00
Brett c0955f0762 Parallel hashmap submodule 2022-12-26 23:44:02 -05:00
Brett 1bbc7959b0 Profiler test 2022-12-26 23:36:34 -05:00
Brett 8aa071eb85 Basic Queue 2022-12-26 00:31:00 -05:00
Brett e5a1763e9b Code setup 2022-12-25 23:19:44 -05:00
Brett 986d0a3d6a Setup inital cmake file 2022-12-23 13:50:27 -05:00