Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 903 for prof (0.78 sec)

  1. src/cmd/pprof/testdata/cpu.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"os"
    	"runtime/pprof"
    	"time"
    )
    
    var output = flag.String("output", "", "pprof profile output file")
    
    func main() {
    	flag.Parse()
    	if *output == "" {
    		fmt.Fprintf(os.Stderr, "usage: %s -output file.pprof\n", os.Args[0])
    		os.Exit(2)
    	}
    
    	f, err := os.Create(*output)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 14:53:37 UTC 2021
    - 792 bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigurationIntegrationTest.groovy

                allprojects { p ->
                    println "[1] Adding afterEvaluate for $p.name"
                    p.afterEvaluate new Action<Project>() {
                        void execute(Project proj) {
                            println "[1] afterEvaluate $proj.name"
                        }
                    }
                }
    
                project(':a') {
                    println "[2] Adding evaluationDependsOn"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/runtime/testdata/testwintls/main.c

        for (int i = 0; i < 65; i++) {
            TlsAlloc();
        }
        HMODULE hlib = LoadLibrary(argv[1]);
        if (hlib == NULL) {
            return 2;
        }
        FARPROC proc = GetProcAddress(hlib, argv[2]);
        if (proc == NULL) {
            return 3;
        }
        if (proc() != 42) {
            return 4;
        }
        return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 15:37:00 UTC 2023
    - 692 bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 556 bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 529 bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. guava-gwt/src/com/google/common/html/Html.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/common/primitives/Primitives.gwt.xml

        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 06 15:30:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. pkg/test/profile/fgprof.go

    package profile
    
    import (
    	"flag"
    	"os"
    
    	"github.com/felixge/fgprof"
    
    	"istio.io/istio/pkg/test"
    )
    
    var fprof string
    
    // init initializes additional profiling flags
    // Go comes with some, like -cpuprofile and -memprofile by default, so those are elided.
    func init() {
    	flag.StringVar(&fprof, "fullprofile", "", "enable full profile. Path will be relative to test directory")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 21 21:50:09 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue9321.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bytes"
    	"runtime"
    	"runtime/pprof"
    	"sync"
    )
    
    func test() {
    	var wg sync.WaitGroup
    	wg.Add(2)
    	test := func() {
    		for i := 0; i < 10; i++ {
    			buf := &bytes.Buffer{}
    			pprof.Lookup("goroutine").WriteTo(buf, 2)
    		}
    		wg.Done()
    	}
    
    	go test()
    	go test()
    	wg.Wait()
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 538 bytes
    - Viewed (0)
Back to top