Skip to content

Instantly share code, notes, and snippets.

@nvkv
Created August 10, 2020 20:33
Show Gist options
  • Save nvkv/045362b663ea9c54245c1b8c9b35a1e5 to your computer and use it in GitHub Desktop.
Save nvkv/045362b663ea9c54245c1b8c9b35a1e5 to your computer and use it in GitHub Desktop.
media extractor thread profile
profiling results for thread "media extractor thread" (39209):
tick interval: 1000 us
total ticks: 2293 (2293000 us)
unknown ticks: 0 (0 us, 0.00%)
dropped ticks: 0 (0 us, 0.00%)
hits unknown image
------------------------------------------------------------------------------
5 0 7074 /boot/system/lib/libmedia.so
2088 0 7080 /boot/system/lib/libroot.so
hits in us in % image function
------------------------------------------------------------------------------
1886 1886000 82.25 7080 memmove
43 43000 1.88 7080 strcmp
26 26000 1.13 7080 __mutex_lock
22 22000 0.96 7080 BPrivate::hoardHeap::findAvailableSuperblock(int, BPrivate::block*&, BPrivate::processHeap*)
19 19000 0.83 7080 __mutex_unlock
17 17000 0.74 7080 posix_memalign
15 15000 0.65 7080 BPrivate::hoardHeap::freeBlock(BPrivate::block*&, BPrivate::superblock*&, int, BPrivate::processHeap*)
14 14000 0.61 7080 BPrivate::threadHeap::malloc(unsigned long)
12 12000 0.52 7080 free
12 12000 0.52 7080 BPrivate::processHeap::free(void*)
5 5000 0.22 7074 BPrivate::media::ChunkCache::ReadNextChunk(BPrivate::media::Reader*, void*)
4 4000 0.17 7080 bsearch
3 3000 0.13 7080 tls_get
3 3000 0.13 7080 memcpy
2 2000 0.09 7080 memset
2 2000 0.09 7080 malloc
2 2000 0.09 7080 void (anonymous namespace)::copy_sse<1ul>(long long __vector(2)*, long long __vector(2) const*)
1 1000 0.04 7080 BPrivate::hoardHeap::moveSuperblock(BPrivate::superblock*, int, int, int)
1 1000 0.04 7080 BPrivate::hoardUnlock(mutex&)
1 1000 0.04 7080 void (anonymous namespace)::copy_sse<3ul>(long long __vector(2)*, long long __vector(2) const*)
1 1000 0.04 7080 realloc
1 1000 0.04 7080 BPrivate::hoardHeap::reuse(int)
1 1000 0.04 7080 _kern_seek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment