質問編集履歴

1

基本情報の追加

2017/03/27 06:24

投稿

haya-linux
haya-linux

スコア23

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,118 @@
5
5
  よろしくお願いします。
6
6
 
7
7
 
8
+
9
+ CPU他情報
10
+
11
+ description: Computer
12
+
13
+ width: 32 bits
14
+
15
+ *-core
16
+
17
+ description: Motherboard
18
+
19
+ physical id: 0
20
+
21
+ *-memory
22
+
23
+ description: System memory
24
+
25
+ physical id: 0
26
+
27
+ size: 1988MiB
28
+
29
+
30
+
31
+
32
+
33
+ Architecture: i686
34
+
35
+ CPU op-mode(s): 32-bit, 64-bit
36
+
37
+ Byte Order: Little Endian
38
+
39
+ CPU(s): 2
40
+
41
+ On-line CPU(s) list: 0,1
42
+
43
+ Thread(s) per core: 1
44
+
45
+ Core(s) per socket: 2
46
+
47
+ Socket(s): 1
48
+
49
+ Vendor ID: GenuineIntel
50
+
51
+ CPU family: 6
52
+
53
+ Model: 15
54
+
55
+ Model name: Intel(R) Core(TM)2 Duo CPU L7100 @ 1.20GHz
56
+
57
+ Stepping: 11
58
+
59
+ CPU MHz: 1201.000
60
+
61
+ CPU max MHz: 1201.0000
62
+
63
+ CPU min MHz: 800.0000
64
+
65
+ BogoMIPS: 2394.07
66
+
67
+ Virtualization: VT-x
68
+
69
+ L1d cache: 32K
70
+
71
+ L1i cache: 32K
72
+
73
+ L2 cache: 4096K
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ ソース
82
+
83
+ #include <stdio.h>
84
+
85
+
86
+
87
+ int main()
88
+
89
+ {
90
+
91
+ int i;
92
+
93
+ for (i=0; i<10; i++)
94
+
95
+ {
96
+
97
+ printf("Hello, World!\n");
98
+
99
+ }
100
+
101
+ return 0;
102
+
103
+
104
+
105
+ }
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+ コマンド
114
+
115
+ gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)
116
+
117
+ $ gcc -o firstprog firstprog.c
118
+
119
+ $ objdump -D firstprog | grep -A70 main.:
8
120
 
9
121
 
10
122