Sign in
opensecura
/
3p
/
cheriot-rtos
/
39da201f584d1d9b75e71874c4c4f714ef94d8ce
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: 277426aad4a00fae384a74470bf3fe41b0b96131 [
file
] [
log
] [
blame
]
#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
;
}