github.com/attic-labs/noms@v0.0.0-20210827224422-e5fa29d95e8b/go/nbs/benchmarks/drop_cache_linux.go (about) 1 // Copyright 2016 Attic Labs, Inc. All rights reserved. 2 // Licensed under the Apache License, version 2.0: 3 // http://www.apache.org/licenses/LICENSE-2.0 4 5 // +build linux 6 7 package main 8 9 import "os/exec" 10 11 func dropCache() error { 12 return exec.Command("./drop_cache").Run() 13 }