Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
300def54
Commit
300def54
authored
Jan 25, 2018
by
Veronica.Quintuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separator tab
parent
967f1427
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
targets/tcri/Makefile
targets/tcri/Makefile
+1
-1
targets/tcri/measurement_display.c
targets/tcri/measurement_display.c
+1
-1
No files found.
targets/tcri/Makefile
View file @
300def54
measurement_display
:
measurement_display
:
measurement_display.c
gcc measurement_display.c
-I
../..
-o
measurement_display
gcc measurement_display.c
-I
../..
-o
measurement_display
targets/tcri/measurement_display.c
View file @
300def54
...
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
...
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
usleep
(
100000
);
usleep
(
100000
);
cpuCyclesMicroSec
=
(
rdtsc
()
-
deb
)
/
100000
;
cpuCyclesMicroSec
=
(
rdtsc
()
-
deb
)
/
100000
;
printf
(
"Cycles per µs: %lu
\n
"
,
cpuCyclesMicroSec
);
printf
(
"Cycles per µs: %lu
\n
"
,
cpuCyclesMicroSec
);
#define SEP "
"
#define SEP "
\t
"
printf
(
"Frame"
SEP
"SubFrame"
SEP
"CodeBlock"
SEP
"RNTI"
SEP
"Iterations"
SEP
printf
(
"Frame"
SEP
"SubFrame"
SEP
"CodeBlock"
SEP
"RNTI"
SEP
"Iterations"
SEP
"StartTime"
SEP
"RunTime"
SEP
"ReturnTime"
SEP
"StartTime"
SEP
"RunTime"
SEP
"ReturnTime"
SEP
"CPUcore"
SEP
"ThreadID"
"
\n
"
);
"CPUcore"
SEP
"ThreadID"
"
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment