Skip to content

Commit 0ad4e60

Browse files
committed
style changes for pthread example
2 parents c1cd64d + 8a9cd5f commit 0ad4e60

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

memory/linux/pagetable/Readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# Reference
1+
# Experiment
2+
3+
Run `countframes` and `pagetable` as root.
4+
5+
## Reference
26

37
[vvar] memory region, <https://lwn.net/Articles/615809/>

thread/pthread/sumall/part_sum.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <pthread.h>
22
#include <stdint.h>
33
#include <stdio.h>
4+
#include <stdint.h>
45
#include <stdlib.h>
56

67
#include "part_sum.h"

thread/pthread/sumall/sum_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
#include <pthread.h>
33
#include <stdint.h>
44
#include <stdio.h>
5+
#include <stdint.h>
56
#include <stdlib.h>
67
#include <time.h>
8+
#include <inttypes.h>
79

810
#include "part_sum.h"
911
#include "util.h"

0 commit comments

Comments
 (0)