graphs of thread switch(edited)