Sign in
opensecura
/
3p
/
cheriot-rtos
/
9663d282be36d3f281f861c6036a715f1d2914dc
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: da57abdf29bb024b57969bf4e034137ce547e477 [
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
;
}