-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
57 lines (55 loc) · 1.5 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
---
layout: home
---
<div class="grid">
<div class="unit two-thirds" style="font-size: 22px">
Follow few simple steps to find weak points and improve performance of your software!
<br />
<a href="#features" style="font-size: 16px">Learn more about the features</a>
</div>
<div class="unit one-third">
<a class="getstarted" href="/doc/stable/tutorial_hello_world.html">
<span style="font-weight: bold; font-size: 20px">Get started</span><br />
Version {{ site.hawktracer_version }}
</a>
</div>
<div class="clear"></div>
</div>
<div class="grid">
<div class="unit half">
1) Instrument your code:
{% highlight c %}
void foo()
{
HT_G_TRACE_FUNCTION();
very_expensive_call();
}
void bar()
{
HT_G_TRACE_FUNCTION();
for (int i = 0; i < 100; i++)
{
foo();
{
HT_G_TRACE_OPT_STATIC("InternalOp");
recursive(10);
}
}
}
{% endhighlight %}
</div>
<div class="unit half">
2) Analyze results:
<ul style="padding-top: 10px">
<li><a href="https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/frame-viewer">ChromeTracing view</a>:
<img alt="ChromeTracing view" src="img/chrometracing.png" style="padding-bottom: 20px"/>
</li>
<li><a href="http://www.brendangregg.com/flamegraphs.html">FlameGraph view</a>:
<img alt="FlameGraph view" src="img/flamegraph.png" />
</li>
</ul>
</div>
<div class="clear"></div>
</div>
<h2 id="features">Features:</h2>
{% include featureslist.html %}