Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUsedPercent (0.3 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy

            10            | 90             | 15   | 0     | false
        }
    
        GarbageCollectionStats stats(int percent, double rate, boolean valid) {
            return Stub(GarbageCollectionStats) {
                getUsedPercent() >> percent
                getGcRate() >> rate
                isValid() >> valid
                getEventCount() >> (valid ? 5 : 0)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

                        println "GC rate: " + stats.get${type.capitalize()}Stats().getGcRate()
                        println " % used: " + stats.get${type.capitalize()}Stats().getUsedPercent() + "%"
            """
        }
    
        void waitForImmediateDaemonExpiration() {
            buildFile << """
                import org.gradle.internal.event.ListenerManager
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top