Hi guys,
In my research, I want to change checkpoint interval during remus running.
I think that the checkpoint_settimer function (declared in libcheckpoint.c) can do that I need.
But I would like to call a checkpoint_settimer in xc_domain_save.c. Then I created a checkpoint_settimer2 into xc_domain_save.c and this doesn't work coz probably the timer_settime function there.
Then I started to search the error or where I change the checkpoint interval. After I just changed one line in checkpoint.c:
from: checkpoint_settimer(&self->cps, self->interval);
to: checkpoint_settimer(&self->cps, 300);
and I ran remus again, but the interval was still 200 ms.
The question is: Does checkpoint_settimer function set the interval? If not, what's the function change interval?
Thanks