The internal logging mechanism is very deeply hardcoded and only accessible within the kernel. Change that to a global instance (which will gather information but only write them, once explicitly told to do so). The global instance might also be used for some imprecise profiling. Stripping down the log file might also be done, once the kernel tells the logger to do so.
Actually use and enable the timing with std::chrono implemented in the datetimetools.cpp file.
This requires an in-depth change of the position and organisation of the current logging logic. We well create a logger class with an internal buffer, where the logging information during start-up will be stored until the acutal information about whether a logging file might be saved, is set to this class. We will additionally think of introducing logging levels for more in-depth information.
The new logging mechanism was already used quite often to find and reduce performance bottlenecks.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r1070]
Diff: