main

Imports

Imports #

"fmt"
"log"
"net"
"os"
"runtime"
"runtime/trace"
"sync"
"syscall"
"time"

Functions

allocHog function #

func allocHog(dt time.Duration)

blockingSyscall function #

blockingSyscall blocks the current goroutine for duration d in a syscall and sends a message to done when it is done or if the syscall failed.

func blockingSyscall(d time.Duration, done chan<- error)

cpu10 function #

func cpu10(wg *sync.WaitGroup)

cpu20 function #

func cpu20(wg *sync.WaitGroup)

cpuHog function #

func cpuHog(dt time.Duration)

main function #

func main()

Generated with Arrow