Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
58450dff
Commit
58450dff
authored
1 year ago
by
Thomas Laurent
Browse files
Options
Downloads
Patches
Plain Diff
add a cpu measurement macro for test purpose
parent
47c06934
No related branches found
No related tags found
2 merge requests
!2535
Integration: 2024.w04
,
!2416
fix-ue-scheduler-multi-thread-storage-list-mutex-protection
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/time_meas.h
+6
-0
6 additions, 0 deletions
common/utils/time_meas.h
with
6 additions
and
0 deletions
common/utils/time_meas.h
+
6
−
0
View file @
58450dff
...
...
@@ -218,4 +218,10 @@ time_stats_t *register_meas(char *name);
void
send_meas
(
time_stats_t
*
ts
,
int
msgid
);
void
end_meas
(
void
);
#define timeIt(a) \
{ \
uint64_t deb = rdtsc_oai(); \
a; \
LOG_W(UTIL, #a ": %llu\n", (rdtsc_oai() - deb) / 3000); \
}
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment