Permalink
Browse files

hires timestamp for match_logger

  • Loading branch information...
nniclausse committed Sep 14, 2010
1 parent 3daf922 commit fbb576e230fe277117344e223eb48e55f5fe1ddd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tsung_controller/ts_match_logger.erl
@@ -174,7 +174,7 @@ code_change(_OldVsn, StateData, _Extra) ->
%%%----------------------------------------------------------------------
log({UserId,SessionId,RequestId,TimeStamp,{count, Val},[]},State=#state{fd=File}) ->
- TS=ts_utils:time2sec(TimeStamp),
+ TS=ts_utils:time2sec_hires(TimeStamp),
io:format(File,"~B ~B ~B ~B ~p~n",[TS,UserId,SessionId,RequestId,Val]),
State;
log({UserId,SessionId,RequestId,TimeStamp,{count, Val},Bin}, State=#state{logdir=LogDir, dumpid=Id}) ->

0 comments on commit fbb576e

Please sign in to comment.