This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
index.html
executable file
·79 lines (72 loc) · 2.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<title>Cleopatra - UI for SPS</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/ui.css">
<link rel="stylesheet" type="text/css" href="css/tree.css">
<link rel="stylesheet" type="text/css" href="css/diagnosticBar.css">
<link rel="stylesheet" type="text/css" href="css/sourceView.css">
<script src="js/diagnosticBar.js"></script>
<script src="js/parser.js"></script>
<script src="js/tree.js"></script>
<script src="js/sourceView.js"></script>
<script src="js/frameView.js"></script>
<script src="js/ui.js"></script>
<script src="js/profileCompare.js"></script>
<script src="js/QueryData.compressed.js"></script>
<script src="js/ProgressReporter.js"></script>
<script src="js/videoPane.js"></script>
<script src="js/beautify.js"></script>
<script src="js/localStorage.js"></script>
<!-- <script src="js/localStorage.js"></script> -->
<!-- Use Zip.js to handle zipped input files from eideticker-->
<script src="js/zip.js/zip.js"></script>
<script src="js/zip.js/deflate.js"></script>
<script src="js/zip.js/inflate.js"></script>
<!-- <script src="js/zip.js/dataview.js"></script> -->
<link rel="shortcut icon" href="favicon.png" />
</head>
<body>
<script>
enterMainUI();
var queryData;
if (location.hash) {
queryData = new QueryData(location.hash.substring(1));
} else {
queryData = new QueryData();
}
if (queryData.videoCapture) {
appendVideoCapture(queryData.videoCapture);
}
if (queryData.trace) {
enableProfilerTracing();
} else if (queryData.logging) {
enableProfilerLogging();
}
if (queryData.report) {
if (queryData.report.length == 40) {
loadProfileURL('http://profile-store.commondatastorage.googleapis.com/' + queryData.report);
} else {
loadProfileURL('http://profile-logs.appspot.com/serve/' + queryData.report);
}
} else if (queryData.customProfile !== undefined) {
loadProfileURL(queryData.customProfile);
} else if (queryData.usesample !== undefined) {
var filename;
if (filename == "pseudo") {
filename = 'sample.profile';
} else if (queryData.usesample !== null) {
filename = queryData.usesample;
} else {
filename = "sample.big";
}
loadProfileURL(filename);
} else if (queryData.zippedProfile) {
// Fetch a compressed eideticker profile
loadZippedProfileURL(queryData.zippedProfile);
}
loadQueryData(queryData);
</script>
</body>
</html>