mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix build fail
This commit is contained in:
parent
2aa94c643c
commit
b7c7d6566f
2 changed files with 11 additions and 7 deletions
|
@ -225,14 +225,11 @@ srs_error_t SrsHybridServer::notify(int event, srs_utime_t interval, srs_utime_t
|
|||
// Resident Set Size: number of pages the process has in real memory.
|
||||
int memory = (int)(u->rss * 4 / 1024);
|
||||
|
||||
_srs_pps_cids_get->update(); _srs_pps_cids_set->update();
|
||||
_srs_pps_timer->update(); _srs_pps_pub->update(); _srs_pps_conn->update(); _srs_pps_dispose->update();
|
||||
_srs_pps_timer->update(); _srs_pps_pub->update(); _srs_pps_conn->update();
|
||||
|
||||
srs_trace("Hybrid cpu=%.2f%%,%dMB, cid=%d,%d, timer=%d,%d,%d, free=%d",
|
||||
srs_trace("Hybrid cpu=%.2f%%,%dMB, timer=%d,%d,%d",
|
||||
u->percent * 100, memory,
|
||||
_srs_pps_cids_get->r10s(), _srs_pps_cids_set->r10s(),
|
||||
_srs_pps_timer->r10s(), _srs_pps_pub->r10s(), _srs_pps_conn->r10s(),
|
||||
_srs_pps_dispose->r10s()
|
||||
_srs_pps_timer->r10s(), _srs_pps_pub->r10s(), _srs_pps_conn->r10s()
|
||||
);
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue