Esempio n. 1
0
        public EventedProfileContext CreateEventedProfileContext(string name, TimeUnit timeUnit)
        {
            var context = new EventedProfileContext(this, name, timeUnit);

            this.SubProfileContexts.Add(context);
            return(context);
        }
Esempio n. 2
0
 internal EventHandle(EventedProfileContext profileContext, Frame frame, DateTime startTime)
 {
     this.ProfileContext = profileContext;
     this.Frame          = frame;
     this.StartTime      = startTime;
 }