Commit Graph

54 Commits (f3451b57ab249fdcf5ccedd64cbd56b2a64e2de2)

Author SHA1 Message Date
Brett 9b4d0cc9a8 push version 0.12.0. Breaking changes to the hashmap typename, Now blt::hashmap_t and blt::hashset_t
This was done to be more consistent
2024-02-25 14:39:56 -05:00
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 cfa9494ffc fix broken columns 2023-12-03 17:08:37 -05:00
Brett 583807af96 fix profiler sorting 2023-11-26 18:05:38 -05:00
Brett da0609e0fd C++ 17 2023-11-22 23:06:29 -05:00
Brett 6514736262 add format to cycles to make look nice 2023-11-22 20:39:46 -05:00
Brett e28f30bcec fix uninit error 2023-11-09 15:28:17 -05:00
Brett 2a5d643285 minor cleanup 2023-10-05 01:55:15 -04: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 0bbcb8eeef Merge remote-tracking branch 'github/main' 2023-09-21 23:24:03 -04:00
Brett 029132c622 macro sackro allocator get fuckedero 2023-09-21 23:23:27 -04:00
Brett a438baeca3 fix time returning only extra nanoseconds. function now returns the total nanoseconds sine starting the program
this might be changed in the future
2023-09-17 16:24:53 -04:00
Brett 0b907867a2 argparse get_cast update to work with all is_arithmetic types 2023-09-17 15:22:37 -04:00
Brett b9b501d391 new blt logging works fine! 2023-07-21 16:49:48 -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 89df343e4f fix most warnings 2023-04-05 17:21:19 -04:00
Brett 409e814815 forgot convert to ms 2023-03-07 18:03:05 -05:00
Brett 13b7c3905b Add total to profiler 2023-03-07 18:02:19 -05:00
Brett b62d4bfe78 update vector and fix profile memory usage 2023-03-06 21:29:04 -05:00
Brett d895e6d033 write profile, histroy count in print-out 2023-03-04 13:07:35 -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 7a181e0c71 Add history vector size to readout 2023-02-15 09:50:20 -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 128fc2f9dc Fix system namespace 2023-02-11 12:53:32 -05:00
Brett cbc703b852 Cleaned up logging and added file location + line number 2023-02-08 17:22:27 -05:00
Brett 060e1a8efb Tables now have names 2023-01-29 17:10:36 -05:00
Brett 33b0b7bbbb Cleanup + making way for NBT! 2023-01-27 10:45:18 -05:00
Brett 42b912604d Ordered table pretty print 2023-01-27 09:58:51 -05:00
Brett f68f23ae30 Update 0.3a!
Added table format (TODO: add title to table!)
printing of profiler
ordered table printing to come
TODO: add old table print back, default to table print!
2023-01-27 00:49:44 -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 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