public void SetInfo(ProfilerLogFormat format, string unityVer, uint dataversion, ushort platform) { this.logFormat = format; this.logVersion = dataversion; this.logPlatform = platform; this.unityVersion = unityVer; }
private void SetAnalyzerInfo(List <IAnalyzeFileWriter> analyzeExecutes, ILogReaderPerFrameData logReader) { ProfilerLogFormat format = ProfilerLogFormat.TypeData; if (logReader.GetType() == typeof(UTJ.ProfilerReader.RawData.ProfilerRawLogReader)) { format = ProfilerLogFormat.TypeRaw; } foreach (var analyzer in analyzeExecutes) { analyzer.SetInfo(format, Application.unityVersion, logReader.GetLogFileVersion(), logReader.GetLogFilePlatform()); } }
private static void SetAnalyzerInfo(List <IAnalyzeFileWriter> analyzeExecutes, ILogReaderPerFrameData logReader) { ProfilerLogFormat format = ProfilerLogFormat.TypeData; if (logReader.GetType() == typeof(UTJ.ProfilerReader.RawData.ProfilerRawLogReader)) { format = ProfilerLogFormat.TypeRaw; } string unityVersion = Application.unityVersion; if (!string.IsNullOrEmpty(overrideUnityVersion)) { unityVersion = overrideUnityVersion; } foreach (var analyzer in analyzeExecutes) { analyzer.SetInfo(format, unityVersion, logReader.GetLogFileVersion(), logReader.GetLogFilePlatform()); } }
// nothing todo... public void SetInfo(ProfilerLogFormat logformat, string unityVersion, uint dataversion, ushort platform) { }