Exemplo n.º 1
0
        public void Log(Nfs3Command command, UInt32 callTimeMicroseconds, Int32 extraData)
        {
            Double timestamp = (Stopwatch.GetTimestamp() - NfsServerLog.stopwatchTicksBase).StopwatchTicksAsDoubleMilliseconds();

            writer.WriteLine(NfsServerLog.PerformanceLogString(timestamp, command, callTimeMicroseconds, extraData));
            writer.Flush();
        }
Exemplo n.º 2
0
 public String LogString()
 {
     return(NfsServerLog.PerformanceLogString(timestamp, command, callTimeMicroseconds, extraData));
 }