mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Kernel: Never depends on another globals for global variables
This commit is contained in:
parent
20df644a05
commit
1909cfb3ff
11 changed files with 88 additions and 76 deletions
|
|
@ -61,9 +61,11 @@ public:
|
|||
// Sugar for target to stat.
|
||||
int64_t sugar;
|
||||
public:
|
||||
SrsPps(SrsWallClock* clk);
|
||||
SrsPps();
|
||||
virtual ~SrsPps();
|
||||
public:
|
||||
// Setup the clock, use global clock if not set.
|
||||
void set_clock(SrsWallClock* clk);
|
||||
// Update with the nn which is target.
|
||||
void update();
|
||||
// Update with the nn.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue