Skip to content

Instantly share code, notes, and snippets.

@ssvb
Created April 19, 2013 18:24
Show Gist options
  • Select an option

  • Save ssvb/5422200 to your computer and use it in GitHub Desktop.

Select an option

Save ssvb/5422200 to your computer and use it in GitHub Desktop.
Perf top for cedarx/vlc video playback (http://linux-sunxi.org/VLC)
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.60% (ratio: 23999->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
Apparently 44100 Hz -> 48000 Hz sample rate conversion can be
ridiculously slow and heavily taxing the CPU.
PerfTop: 8051 irqs/sec kernel:19.1% exact: 0.0% [4000Hz cycles], (all, 1 CPU)
--------------------------------------------------------------------------------------------------------------------------------
65.32% libsamplerate.so.0.1.7 [.] 0x000045a0
9.24% libm-2.15.so [.] __lrintl
1.88% [kernel] [k] __do_softirq
1.19% libaudio_format_plugin.so [.] Fl32toS16
0.87% libc-2.15.so [.] memcpy
0.79% libavcodec.so.53.61.100 [.] decode_ics.constprop.4
0.70% perf [.] dso__find_symbol
0.62% [kernel] [k] finish_task_switch.constprop.75
0.57% perf [.] _sort__dso_cmp
0.55% libasound.so.2.0.0 [.] 0x00074250
0.54% libc-2.15.so [.] strcmp
0.53% perf [.] add_hist_entry.isra.2
0.50% perf [.] sort__dso_cmp
0.46% libpthread-2.15.so [.] pthread_mutex_lock
0.45% perf [.] perf_top__mmap_read
0.42% perf [.] perf_evsel__parse_sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment