[–] zokier 10y ago ↗ > cc gpio.c -lgpio -o gpioWould throwing -O2 in there help? Spending almost 10k clock cycles to toggle a pin sounds bit excessive to me.. [–] bidouilliste 10y ago ↗ I guess, I could run some more test with different compiler optimization and not running kernel with debug features.Off-Topic: I guess I should have add "Show HN" in the title ... sorry about that.
[–] bidouilliste 10y ago ↗ I guess, I could run some more test with different compiler optimization and not running kernel with debug features.Off-Topic: I guess I should have add "Show HN" in the title ... sorry about that.
2 comments
[ 3.8 ms ] story [ 14.5 ms ] threadWould throwing -O2 in there help? Spending almost 10k clock cycles to toggle a pin sounds bit excessive to me..
Off-Topic: I guess I should have add "Show HN" in the title ... sorry about that.