| commit | 493d00f54f70d42fefd928b5728b53f01aaee7bf | [log] [tgz] |
|---|---|---|
| author | Gwen Mittertreiner <gmtr@fuchsia.infra.roller.google.com> | Wed May 10 02:00:34 2023 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue May 09 19:03:16 2023 -0700 |
| tree | 265f25debcbb7c65ae037c7b1f831b40521eadcf | |
| parent | f3763066a95384345d678896d28033ec07d2062d [diff] |
[roll] Roll fuchsia [performance][profiler] Add a Demo Component
This adds a simple component to use as a testing profiler target.
Here's an example of output when it's profiled:
```
~/fuchsia ▶ pprof -text profile.out.sym.pb
Main binary filename not available.
Type: location
Showing nodes accounting for 282, 100% of 282 total
flat flat% sum% cum cum%
251 89.01% 89.01% 251 89.01% count(int)
18 6.38% 95.39% 150 53.19% main()
6 2.13% 97.52% 6 2.13% collatz(uint64_t*)
4 1.42% 98.94% 4 1.42% sub(uint64_t*)
1 0.35% 99.29% 1 0.35% add(uint64_t*)
1 0.35% 99.65% 1 0.35% rand()
1 0.35% 100% 1 0.35% <unknown>
0 0% 100% 152 53.90% __libc_start_main(zx_handle_t, int (*)(int, char**, char**))
0 0% 100% 150 53.19% _start(zx_handle_t)
0 0% 100% 155 54.96% start_main(const start_params*)
```
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/839561
Original-Revision: fe89e64e9469c2a2a7027c6e36eac87e386c460f
GitOrigin-RevId: 4fffaea527b0b8ca98fece39719133fda5b453be
Change-Id: I7122d4ddf67482d319abbb9e39c7bafd85b5dff3
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.