抓 console 時間資訊的工具 grabserial

來源:互聯網
上載者:User

轉載時請註明出處和作者連絡方式:http://blog.csdn.net/mimepp
作者連絡方式:YU TAO <yut616 at sohu dot com>

關鍵字: grabserial,console,minicom, 嵌入式

因為使用到 grabserial ,這裡記錄一下,以後備查。

grabserial 是一個 python 的工具,可以獲得 console 上輸出資訊的時間,用來檢查某些功能的執行時間,很管用。

http://elinux.org/Grabserial

輸出執行個體:

[8.376117 0.000048] Starting kernel ...[0.001022 0.001022] [0.003100 0.002078] Uncompressing Linux... done, booting the kernel.[1.517790 1.514690] Linux version 2.6.35-g6d019da-dirty (danders@ccd-dev) (gcc version 4.3.3 (GCC) ) #11 SMP PREEMPT Wed Sep 1 16:11:03 CDT 2010[1.529238 0.011448] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7f[1.535071 0.005833] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache[1.541228 0.006157] Machine: OMAP4430 Panda Board[1.544865 0.003637] Memory policy: ECC disabled, Data cache writealloc[1.549032 0.004167] OMAP4430 ES2.0[1.550879 0.001847] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x100000[1.555136 0.004257] FIXME: omap44xx_sram_init not implemented[1.559230 0.004094] Reserving 33554432 bytes SDRAM for VRAM[1.563250 0.004020] PERCPU: Embedded 6 pages/cpu @c296a000 s4000 r8192 d12384 u65536[1.569195 0.005945] pcpu-alloc: s4000 r8192 d12384 u65536 alloc=16*4096[1.574161 0.004966] pcpu-alloc: [0] 0 [0] 1 [1.576292 0.002131] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117602[1.584048 0.007756] Kernel command line: console=ttyO2,115200n8 mem=463M root=/dev/mmcblk0p3 rw rootwait init=/linuxrc[1.592129 0.008081] PID hash table entries: 2048 (order: 1, 8192 bytes)[1.597900 0.005771] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)[1.603869 0.005969] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.