I want to calculate angle from gyro and for this issue formula is this: angle=angle+gyro*dtFor dt; since my code is too long, instead of usind sample rate directly , ı want to calculate time that code consume's gyro reading part to gyro reading part....