Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login as: root
- root@xxx.xxx.xxx.xxx's password:
- Linux arm 3.8.13-bone18 #1 SMP Wed May 15 13:48:09 MST 2013 armv7l
- The programs included with the Debian GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Thu Jan 6 15:34:30 2000 from 192.168.254.165
- root@arm:~# top
- top - 03:17:57 up 6 days, 10:17, 3 users, load average: 0.51, 0.60, 0.58
- Tasks: 73 total, 1 running, 72 sleeping, 0 stopped, 0 zombie
- %Cpu(s): 59.9 us, 2.7 sy, 0.0 ni, 37.0 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
- KiB Mem: 507832 total, 98624 used, 409208 free, 10704 buffers
- KiB Swap: 0 total, 0 used, 0 free, 61756 cached
- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
- 3748 xxxxxxx 20 0 1168 264 212 S 59.9 0.1 18:41.04 load-test
- 3609 root 20 0 2664 1108 784 R 1.6 0.2 5:34.29 top
- 3 root 20 0 0 0 0 S 0.3 0.0 0:03.17 ksoftirqd/0
- 1 root 20 0 1684 644 540 S 0.0 0.1 0:25.24 init
- 2 root 20 0 0 0 0 S 0.0 0.0 0:00.36 kthreadd
- 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
- 7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/u:0H
- 8 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
- 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
- 10 root 20 0 0 0 0 S 0.0 0.0 0:18.14 rcu_sched
- 11 root rt 0 0 0 0 S 0.0 0.0 0:11.55 watchdog/0
- 12 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
- 13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
- 14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
- 16 root 20 0 0 0 0 S 0.0 0.0 0:00.26 bdi-default
- 17 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd
- 18 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
- root@arm:~# cpufreq-info
- cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
- Report errors and bugs to cpufreq@vger.kernel.org, please.
- analyzing CPU 0:
- driver: generic_cpu0
- CPUs which run at the same hardware frequency: 0
- CPUs which need to have their frequency coordinated by software: 0
- maximum transition latency: 300 us.
- hardware limits: 300 MHz - 1000 MHz
- available frequency steps: 300 MHz, 600 MHz, 800 MHz, 1000 MHz
- available cpufreq governors: conservative, ondemand, userspace, powersave, performance
- current policy: frequency should be within 300 MHz and 1000 MHz.
- The governor "ondemand" may decide which speed to use
- within this range.
- current CPU frequency is 300 MHz (asserted by call to hardware).
- cpufreq stats: 300 MHz:nan%, 600 MHz:nan%, 800 MHz:nan%, 1000 MHz:nan%
- load-test code:
- #include <stdio.h>
- #include <unistd.h>
- int main(int argc, char **argv)
- {
- unsigned int index = 0;
- unsigned int mSeconds = 500;
- int returnCode;
- while(1)
- {
- if((++index % 10240) == 0 ){
- returnCode = usleep(mSeconds);
- index = 0;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement