1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

get self proc and system proc stat

This commit is contained in:
winlin 2014-04-19 21:43:13 +08:00
parent 117fd67950
commit 951a93ab86
5 changed files with 156 additions and 20 deletions

View file

@ -447,7 +447,7 @@ int SrsServer::cycle()
srs_update_system_rusage();
}
if (i == SRS_SYS_CPU_STAT_RESOLUTION_TIMES) {
srs_update_system_cpu_stat();
srs_update_proc_stat();
}
}
}