private void AddElapsedTime(string stepName, BILog log) { float realTimeSinceStartUpInMilliseconds = DateUtils.GetRealTimeSinceStartUpInMilliseconds(); if (!this.timeStamps.ContainsKey(stepName)) { this.timeStamps.Add(stepName, realTimeSinceStartUpInMilliseconds); } float num = this.timeStamps[stepName]; log.AddParam("elapsed_time_ms", ((int)(realTimeSinceStartUpInMilliseconds - num)).ToString()); }
public void AddDeviceSpecificInfo(BILog log) { string deviceAdvertisingId = this.GetDeviceAdvertisingId(); log.AddParam("google_advertising_id", EncryptionUtil.EncryptString(deviceAdvertisingId)); }