Sign in
opensecura
/
3p
/
cheriot-rtos
/
3e1689b5d1ff985e96c0b590f88e6a71d2117eb7
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: 277426aad4a00fae384a74470bf3fe41b0b96131 [
file
]
#include
"callee.h"
#include
"../timing.h"
int
noop_return
(
size_t
s
)
{
use_stack
(
s
);
return
rdcycle
();
}
int
noop_call
(
int
start
)
{
int
end
=
rdcycle
();
check_stack_zeroed
();
return
end
-
start
;
}