Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: tools/tickprocessor-driver.js

Issue 1796863002: Remove snapshot log parsing and option from tools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase on master. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/tickprocessor.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'windows': WindowsCppEntriesProvider, 54 'windows': WindowsCppEntriesProvider,
55 'mac': MacCppEntriesProvider 55 'mac': MacCppEntriesProvider
56 }; 56 };
57 57
58 var params = processArguments(arguments); 58 var params = processArguments(arguments);
59 var sourceMap = null; 59 var sourceMap = null;
60 if (params.sourceMap) { 60 if (params.sourceMap) {
61 initSourceMapSupport(); 61 initSourceMapSupport();
62 sourceMap = SourceMap.load(params.sourceMap); 62 sourceMap = SourceMap.load(params.sourceMap);
63 } 63 }
64 var snapshotLogProcessor;
65 if (params.snapshotLogFileName) {
66 snapshotLogProcessor = new SnapshotLogProcessor();
67 snapshotLogProcessor.processLogFile(params.snapshotLogFileName);
68 }
69 var tickProcessor = new TickProcessor( 64 var tickProcessor = new TickProcessor(
70 new (entriesProviders[params.platform])(params.nm, params.targetRootFS), 65 new (entriesProviders[params.platform])(params.nm, params.targetRootFS),
71 params.separateIc, 66 params.separateIc,
72 params.callGraphSize, 67 params.callGraphSize,
73 params.ignoreUnknown, 68 params.ignoreUnknown,
74 params.stateFilter, 69 params.stateFilter,
75 snapshotLogProcessor,
76 params.distortion, 70 params.distortion,
77 params.range, 71 params.range,
78 sourceMap, 72 sourceMap,
79 params.timedRange, 73 params.timedRange,
80 params.pairwiseTimedRange, 74 params.pairwiseTimedRange,
81 params.onlySummary); 75 params.onlySummary);
82 tickProcessor.processLogFile(params.logFileName); 76 tickProcessor.processLogFile(params.logFileName);
83 tickProcessor.printStatistics(); 77 tickProcessor.printStatistics();
OLDNEW
« no previous file with comments | « tools/tickprocessor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698