add --period flag to act as the reciprocal of --per_sec