Skip to content

Commit

Permalink
Added note about testing using doihavetsx
Browse files Browse the repository at this point in the history
  • Loading branch information
linux4life798 committed Oct 3, 2018
1 parent 93db53c commit 5f382dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ m["word1"] = m["word1"] + 1
lock.Unlock()
```

# Check if your CPU supports Intel TSX

```bash
go get github.com/linux4life798/safetyfast/doihavetsx
doihavetsx
```

The output should look something like:
```
CPU Brand: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
RTM: Yes
HLE: Yes
```

# Examples

## Checking for HLE and RTM CPU support
Expand Down

0 comments on commit 5f382dd

Please sign in to comment.