Electric pulse signal capture rockpis board

I have a rockpis board, I have connected a power source and I need to capture the pulse interval from that source. How can I identify the pulse and store this information? Thanks.