diff options
| author | liuchang <[email protected]> | 2023-03-24 09:53:38 +0000 |
|---|---|---|
| committer | liuchang <[email protected]> | 2023-03-24 09:53:38 +0000 |
| commit | c25b65bc60a5fb82c576458deb7ef12f1a6885b3 (patch) | |
| tree | db5f1ae545e1edfebba4252c714f1f8104bf61b2 /shaping/test/stub.cpp | |
| parent | 55b82e9f049c9ec9bce3e8f8d309a01b3619ecc2 (diff) | |
fix test case for stat after using fieldstat3
Diffstat (limited to 'shaping/test/stub.cpp')
| -rw-r--r-- | shaping/test/stub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaping/test/stub.cpp b/shaping/test/stub.cpp index 2bf4a8f..9d91b7e 100644 --- a/shaping/test/stub.cpp +++ b/shaping/test/stub.cpp @@ -158,9 +158,9 @@ struct stub_pkt_queue* stub_get_tx_queue() return &tx_queue; } -void stub_curr_time_inc() +void stub_curr_time_inc(unsigned long long time_ns) { - curr_time += 1000; + curr_time += time_ns; return; } |
