FastLED 3.9.15
Loading...
Searching...
No Matches

◆ record_success()

test_stress.StressTestResults.record_success ( self,
float response_time_ms )

Definition at line 61 of file test_stress.py.

61 def record_success(self, response_time_ms: float):
62 with self.lock:
63 self.total_requests += 1
64 self.successful_requests += 1
65 self.response_times.append(response_time_ms)
66

References lock, response_times, successful_requests, and total_requests.