Skip to content

Commit

Permalink
Merge pull request #7284 from keithc-ca/zos_cputime
Browse files Browse the repository at this point in the history
Add missing declaration of _CPUTIME()
  • Loading branch information
babsingh committed Mar 19, 2024
2 parents 7787957 + dc4886f commit 73f2f20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thread/common/thrprof.c
Expand Up @@ -349,6 +349,7 @@ omrthread_get_self_cpu_time(omrthread_t self)

#if defined(J9ZOS390)
{
extern void _CPUTIME(uint64_t *); /* defined in thrcputime.s */
uint64_t time = 0;

/* _CPUTIME returns time in TOD format (see z/Architecture Principles of Operation) */
Expand Down

0 comments on commit 73f2f20

Please sign in to comment.