mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
Printing profile on sig kill. (#44)
* added skeleton for terminal logger * done skeleton terminal writer logic... todo: actual calls to the write classes * moved lambda to top function * added logic to support timing * prettier printing * prettier printing * lint * separated out timing and other stats variables. printing in dict format * keeping logging history and wiping rest * updated logic to calculate total times instead of average times * made stats tracker configurable * moved stats tracker and profiler to own class file; implemented basic functionality for profiler * lint removing duplicate function * update readme; moved around config variables * profiler prints on sig kill
This commit is contained in:
1 parent
47691eb291
commit
86b1011ae1
8 files changed
+46
-24
No files matched your search
@@ -24,7 +24,7 @@ class Stats(enum.Enum):
|
||||
ETA = "ETA (time)"
|
||||
|
||||
|
||||
@decorate_all([check_main_thread, check_stats_enabled])
|
||||
@decorate_all([check_stats_enabled, check_main_thread])
|
||||
class StatsTracker:
|
||||
"""Stats Tracker class"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user