private JCsProfilerMethod CreateNewPCMethod(PerformanceCounterKey key) { string className = key.ClassName; string instanceName = key.InstanceName; string methodName = key.MethodName; /* * The following operation is only done once for each method to * be profiled (when it's called for the very first time), so * instead of adding extra structures I do it the expansive way... */ PerformanceCounterClass myClass = null; PerformanceCounterInstance myInstance = null; JCsProfilerMethod newMethod = null; // see if the class exists already... foreach (PerformanceCounterClass pcClass in classes) { if (pcClass.Name.Equals(className)) { myClass = pcClass; break; } } // if not - create it... if (myClass == null) { myClass = new PerformanceCounterClass(className); classes.Add(myClass); } // now see if that class has the relevant instance foreach (PerformanceCounterInstance pcInstance in myClass.Instances) { if (pcInstance.Name.Equals(instanceName)) { myInstance = pcInstance; break; } } // if not - create it... if (myInstance == null) { myInstance = new PerformanceCounterInstance(instanceName, myClass); } // now we do know the method doesn't exist, or we wouldn't be here right now ;-) newMethod = new JCsProfilerMethod(methodName, myInstance); allPerformanceCounters.Add(key, newMethod); return(newMethod); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new PeopleIKnowInstance(instanceName, (PeopleIKnowInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new SharedMailboxSentItemsDeliveryAgentInstance(instanceName, (SharedMailboxSentItemsDeliveryAgentInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new TaskDistributionFabricPerfCountersInstance(instanceName, (TaskDistributionFabricPerfCountersInstance)totalInstance)); }
// Token: 0x0600248C RID: 9356 RVA: 0x000ACA4A File Offset: 0x000AAC4A private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new SourceDatabasePerformanceCountersInstance(instanceName, (SourceDatabasePerformanceCountersInstance)totalInstance)); }
// Token: 0x060078AA RID: 30890 RVA: 0x0018FF36 File Offset: 0x0018E136 private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeUserThrottlingInstance(instanceName, (MSExchangeUserThrottlingInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeADAccessCacheCountersInstance(instanceName, (MSExchangeADAccessCacheCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new PerformanceCountersPerDatabaseInstance(instanceName, (PerformanceCountersPerDatabaseInstance)totalInstance)); }
// Token: 0x06007855 RID: 30805 RVA: 0x0018DEC6 File Offset: 0x0018C0C6 private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new GlsProcessPerformanceCountersInstance(instanceName, (GlsProcessPerformanceCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeTenantMonitoringInstance(instanceName, (MSExchangeTenantMonitoringInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MailboxLoadBalanceMultiInstancePerformanceCountersInstance(instanceName, (MailboxLoadBalanceMultiInstancePerformanceCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new ThrottlingServiceClientPerformanceCountersInstance(instanceName, (ThrottlingServiceClientPerformanceCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeResourceLoadInstance(instanceName, (MSExchangeResourceLoadInstance)totalInstance)); }
// Token: 0x06000032 RID: 50 RVA: 0x00004B9F File Offset: 0x00002D9F private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new TransportServerAlivePerfCountersInstance(instanceName, (TransportServerAlivePerfCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeStoreDriverDeliveryAgentInstance(instanceName, (MSExchangeStoreDriverDeliveryAgentInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new EhfPerfCountersInstance(instanceName, (EhfPerfCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new IsMemberOfResolverPerfCountersInstance(instanceName, (IsMemberOfResolverPerfCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new HttpProxyCountersInstance(instanceName, (HttpProxyCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MailboxReplicationServicePerMdbPerformanceCountersInstance(instanceName, (MailboxReplicationServicePerMdbPerformanceCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new ExchangeTopologyPerformanceCountersInstance(instanceName, (ExchangeTopologyPerformanceCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new AutodiscoverDatacenterPerformanceCountersInstance(instanceName, (AutodiscoverDatacenterPerformanceCountersInstance)totalInstance)); }
// Token: 0x06000142 RID: 322 RVA: 0x00007F02 File Offset: 0x00006102 private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new PswshttpRequestPerformanceCountersInstance(instanceName, (PswshttpRequestPerformanceCountersInstance)totalInstance)); }
// Token: 0x06007880 RID: 30848 RVA: 0x0018F06E File Offset: 0x0018D26E private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeProvisioningCacheInstance(instanceName, (MSExchangeProvisioningCacheInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new ConfigurationCachePerfCountersInstance(instanceName, (ConfigurationCachePerfCountersInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MiddleTierStoragePerformanceCountersInstance(instanceName, (MiddleTierStoragePerformanceCountersInstance)totalInstance)); }
// Token: 0x0600245E RID: 9310 RVA: 0x000AA9BC File Offset: 0x000A8BBC private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new NetworkManagerPerfmonInstance(instanceName, (NetworkManagerPerfmonInstance)totalInstance)); }
// Token: 0x0600247E RID: 9342 RVA: 0x000AC4AA File Offset: 0x000AA6AA private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new ReplicaSeederPerfmonInstance(instanceName, (ReplicaSeederPerfmonInstance)totalInstance)); }
// Token: 0x0600244D RID: 9293 RVA: 0x000A9B0E File Offset: 0x000A7D0E private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new ActiveManagerDagNamePerfmonInstance(instanceName, (ActiveManagerDagNamePerfmonInstance)totalInstance)); }
private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new MSExchangeStoreDriverSubmissionDatabaseInstance(instanceName, (MSExchangeStoreDriverSubmissionDatabaseInstance)totalInstance)); }
// Token: 0x060008B3 RID: 2227 RVA: 0x0003B79E File Offset: 0x0003999E private static PerformanceCounterInstance CreateInstance(string instanceName, PerformanceCounterInstance totalInstance) { return(new CalendarSyncPerformanceCountersInstance(instanceName, (CalendarSyncPerformanceCountersInstance)totalInstance)); }