public AppMeasurement CreateMeasurement(ThreeDApp app)
 {
     lock (apps)
     {
         AppMeasurement ret;
         if (!apps.TryGetValue(app, out ret))
         {
             ret = new AppMeasurement(app, statsService);
             apps.Add(app, ret);
         }
         return(ret);
     }
 }
 public AppOperationKind(AppMeasurement measurement, string name)
 {
     this.measurement = measurement;
     this.name        = name;
 }