예제 #1
0
 public void Setup()
 {
     this.native = new NATIVE_THREADSTATS
     {
         cPageReferenced = 1,
         cPageRead       = 2,
         cPagePreread    = 3,
         cPageDirtied    = 4,
         cPageRedirtied  = 5,
         cLogRecord      = 6,
         cbLogRecord     = 7,
     };
     this.managed = new JET_THREADSTATS();
     this.managed.SetFromNativeThreadstats(this.native);
 }
예제 #2
0
 public static extern int JetGetThreadStats(out NATIVE_THREADSTATS pvResult, uint cbMax);