Provided is a cardiac-event processor (1) including a storing unit (11) that stores a time history of cardiac events, including heartbeats, in association with the presence/absence of nerve stimulation; a heart rate calculator (12) that calculates a heart rate for when each heartbeat is detected, on the basis of the time history of the cardiac events stored in the storing unit (11); and a frequency data generator (13) that separately adds up frequencies of the heart rates calculated by the heart rate calculator (12) for the cases with and without the nerve stimulation.