This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make cpu usage graph to display an I2C signal graph. | |
// delay is for AMD Ryzen 9 3900X | |
// tested on AMD Ryzen 9 3900X | |
// up is SCL, down is SDA | |
using System.Diagnostics; | |
Process Proc = Process.GetCurrentProcess(); | |
long AffinityMask = (long)Proc.ProcessorAffinity; | |
AffinityMask &= (1|1<<6); |