Example #1
0
 public Tracer()
 {
     res = new TraceResult();
 }
Example #2
0
 private Tracer()
 {
     traceResult = new TraceResult();
 }
Example #3
0
 public Tracer()
 {
     Traceresult = new TraceResult();
 }
Example #4
0
 public SomeTracer()
 {
     traceResult = new TraceResult();
     isTracing   = 0;
     ob          = new object();
 }
Example #5
0
        static void LoadToConsole(ITraceConverter converter, TraceResult result)
        {
            ITraceWriter writer = new ConsoleWriter();

            writer.Write(result, converter);
        }
Example #6
0
        static void LoadToFile(ITraceConverter converter, TraceResult result, string filename)
        {
            ITraceWriter writer = new FileWriter(filename);

            writer.Write(result, converter);
        }
Example #7
0
 /*public void Serialize(Stream stream, ISerializer serializer)
  * {
  *  serializer.Serialize(threads, stream);
  * }*/
 public void Serialize(TraceResult traceResult, Stream stream, ISerializer serializer)
 {
     serializer.Serialize(traceResult, stream);
 }