os:timestamp

This commit is contained in:
Feng 2015-12-05 02:13:22 +08:00
parent 1ca477ffa1
commit 0c13490092
1 changed files with 1 additions and 1 deletions

View File

@ -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}]),