Skip to content
Snippets Groups Projects
Commit d2bc0fc0 authored by Recolic K's avatar Recolic K
Browse files

m

parent a078ee56
No related branches found
No related tags found
Loading
schtasks.exe /create /tn "monmonboot" /ru SYSTEM /Sc ONSTART /RL HIGHEST /tr "%~dp0\wmonmon.exe --role recorder --db db.log" /F
schtasks.exe /run /tn "monmonboot"
...@@ -20,7 +20,9 @@ static_assert(sizeof(round_record_t) == sizeof(uint64_t)); ...@@ -20,7 +20,9 @@ static_assert(sizeof(round_record_t) == sizeof(uint64_t));
#ifndef NO_RECORDER #ifndef NO_RECORDER
inline void writeback_record(fd_t fd, const round_record_t &rr) { inline void writeback_record(fd_t fd, const round_record_t &rr) {
#ifdef DEBUG
rlib::printfln("DEBUG: writing record time_offset={}, stat counts= {} {} {}", rr.time_offset, (int)rr.stats_count[0], (int)rr.stats_count[1], (int)rr.stats_count[2]); rlib::printfln("DEBUG: writing record time_offset={}, stat counts= {} {} {}", rr.time_offset, (int)rr.stats_count[0], (int)rr.stats_count[1], (int)rr.stats_count[2]);
#endif
rlib::fdIO::writen_ex(fd, &rr, sizeof(rr)); rlib::fdIO::writen_ex(fd, &rr, sizeof(rr));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment