- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAverageReadLatencyMicros (0.1 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
return (double) operationErrors.get() / total; } /** * Calculate average read latency in microseconds * * @return average read latency */ public double getAverageReadLatencyMicros() { long reads = rdmaReads.get(); if (reads == 0) { return 0.0; } return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertEquals(0.25, stats.getErrorRate(), 0.001, "Error rate should be 25% (1 error out of 4 successful operations)"); // Verify latency calculations assertTrue(stats.getAverageReadLatencyMicros() > 0, "Read latency should be positive"); assertTrue(stats.getAverageWriteLatencyMicros() > 0, "Write latency should be positive"); System.out.println("RDMA Statistics: " + stats);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0)