os:timestamp
This commit is contained in:
parent
1ca477ffa1
commit
0c13490092
|
@ -283,7 +283,7 @@ key(counter, Metric) ->
|
|||
%%%=============================================================================
|
||||
|
||||
init([]) ->
|
||||
random:seed(now()),
|
||||
random:seed(os:timstamp()),
|
||||
Metrics = ?SYSTOP_BYTES ++ ?SYSTOP_PACKETS ++ ?SYSTOP_MESSAGES,
|
||||
% Create metrics table
|
||||
ets:new(?METRIC_TAB, [set, public, named_table, {write_concurrency, true}]),
|
||||
|
|
Loading…
Reference in New Issue