public static void ReportGlobalSumEvent(string eventName, double dValue) { if (!tribeDataSets.TryGetValue(GLOBAL, out var dataset)) { tribeDataSets.TryAdd(GLOBAL, dataset = new TribeDataSet()); } dataset.ReportSumEvent(eventName, (float)dValue); }
public static void ReportGlobalCountEvent(string eventName) { if (!tribeDataSets.TryGetValue(GLOBAL, out var dataset)) { tribeDataSets.TryAdd(GLOBAL, dataset = new TribeDataSet()); } dataset.ReportCountEvent(eventName); }
public static void ReportAverageEvent(string tribeName, string eventName, double dValue) { float value = (float)dValue; if (!tribeDataSets.TryGetValue(tribeName, out var dataset)) { tribeDataSets.TryAdd(tribeName, dataset = new TribeDataSet()); } dataset.ReportAverageEvent(eventName, value); ReportGlobalAverageEvent(eventName, value); }