Ejemplo n.º 1
0
 internal CommandTrace(long uniqueId, long time, long duration, string[] arguments)
 {
     this.UniqueId = uniqueId;
     this.Time     = RedisConnection.FromUnixTime(time);
     // duration = The amount of time needed for its execution, in microseconds.
     // A tick is equal to 100 nanoseconds, or one ten-millionth of a second.
     // So 1 microsecond = 10 ticks
     this.Duration  = TimeSpan.FromTicks(duration * 10);
     this.Arguments = arguments;
 }