| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347 |
- 2025-07-27 01:27:27.259 [INFO] AV Logger initialized
- 2025-07-27 01:27:27.260 [INFO] === AV工具类模块测试套件 ===
- 2025-07-27 01:27:27.261 [INFO] 开始运行所有工具类测试...
- 2025-07-27 01:27:27.261 [INFO]
- === 运行测试: 线程池基本功能 ===
- 2025-07-27 01:27:27.261 [INFO] [测试] 线程池基本功能...
- 2025-07-27 01:27:27.261 [INFO] Thread pool initialized with 2 min threads, 4 max threads
- 2025-07-27 01:27:27.261 [INFO] Thread pool started with 2 threads
- 2025-07-27 01:27:27.261 [INFO] 线程池启动成功
- 2025-07-27 01:27:27.261 [DEBUG] Created new worker thread, total: %zu
- 2025-07-27 01:27:27.261 [DEBUG] Created new worker thread, total: %zu
- 2025-07-27 01:27:27.262 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:27.264 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:27.264 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:27.264 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:27.289 [INFO] 任务 9 完成
- 2025-07-27 01:27:27.289 [INFO] 任务 6 完成
- 2025-07-27 01:27:27.289 [INFO] 任务 0 完成
- 2025-07-27 01:27:27.289 [INFO] 任务 2 完成
- 2025-07-27 01:27:27.305 [INFO] 任务 4 完成
- 2025-07-27 01:27:27.305 [INFO] 任务 7 完成
- 2025-07-27 01:27:27.305 [INFO] 任务 8 完成
- 2025-07-27 01:27:27.305 [INFO] 任务 5 完成
- 2025-07-27 01:27:27.320 [INFO] 任务 1 完成
- 2025-07-27 01:27:27.320 [INFO] 任务 3 完成
- 2025-07-27 01:27:27.320 [INFO] 线程池统计: 总线程数=4, 完成任务数=10
- 2025-07-27 01:27:27.320 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:27.320 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:27.320 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:27.320 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:27.321 [INFO] Thread pool stopped
- 2025-07-27 01:27:27.321 [INFO] [成功] 线程池基本功能测试通过
- 2025-07-27 01:27:27.321 [INFO] ✓ 线程池基本功能 测试通过
- 2025-07-27 01:27:27.321 [INFO]
- === 运行测试: 线程池优先级功能 ===
- 2025-07-27 01:27:27.321 [INFO] [测试] 线程池优先级功能...
- 2025-07-27 01:27:27.321 [INFO] Thread pool initialized with 1 min threads, 1 max threads
- 2025-07-27 01:27:27.321 [INFO] Thread pool started with 1 threads
- 2025-07-27 01:27:27.321 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:27.321 [INFO] 关键优先级任务执行
- 2025-07-27 01:27:27.321 [INFO] 高优先级任务执行
- 2025-07-27 01:27:27.322 [INFO] 普通优先级任务执行
- 2025-07-27 01:27:27.322 [INFO] 低优先级任务执行
- 2025-07-27 01:27:27.322 [INFO] 任务执行顺序:
- 2025-07-27 01:27:27.322 [INFO] 第1个执行的任务ID: 4
- 2025-07-27 01:27:27.322 [INFO] 第2个执行的任务ID: 3
- 2025-07-27 01:27:27.322 [INFO] 第3个执行的任务ID: 2
- 2025-07-27 01:27:27.322 [INFO] 第4个执行的任务ID: 1
- 2025-07-27 01:27:27.322 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:27.322 [INFO] Thread pool stopped
- 2025-07-27 01:27:27.322 [INFO] [成功] 线程池优先级功能测试通过
- 2025-07-27 01:27:27.322 [INFO] ✓ 线程池优先级功能 测试通过
- 2025-07-27 01:27:27.323 [INFO]
- === 运行测试: 帧队列功能 ===
- 2025-07-27 01:27:27.323 [INFO] [测试] 帧队列功能...
- 2025-07-27 01:27:27.323 [DEBUG] FrameQueue created with max size: 10
- 2025-07-27 01:27:27.323 [INFO] 队列大小: 5
- 2025-07-27 01:27:27.323 [INFO] [成功] 帧队列功能测试通过
- 2025-07-27 01:27:27.323 [DEBUG] Frame queue cleared
- 2025-07-27 01:27:27.323 [DEBUG] FrameQueue destroyed
- 2025-07-27 01:27:27.323 [INFO] ✓ 帧队列功能 测试通过
- 2025-07-27 01:27:27.323 [INFO]
- === 运行测试: 数据包队列功能 ===
- 2025-07-27 01:27:27.323 [INFO] [测试] 数据包队列功能...
- 2025-07-27 01:27:27.324 [DEBUG] PacketQueue created with max size: 20, max bytes: 52428800
- 2025-07-27 01:27:27.324 [INFO] 队列大小: 10
- 2025-07-27 01:27:27.324 [INFO] [成功] 数据包队列功能测试通过
- 2025-07-27 01:27:27.324 [DEBUG] Packet queue cleared
- 2025-07-27 01:27:27.324 [DEBUG] PacketQueue destroyed
- 2025-07-27 01:27:27.324 [INFO] ✓ 数据包队列功能 测试通过
- 2025-07-27 01:27:27.324 [INFO]
- === 运行测试: 性能监控功能 ===
- 2025-07-27 01:27:27.324 [INFO] [测试] 性能监控功能...
- 2025-07-27 01:27:27.324 [DEBUG] Registered metric: system.cpu_usage (type: 1)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: system.memory_usage (type: 1)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: system.disk_usage (type: 1)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: performance.frame_rate (type: 4)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: performance.latency (type: 2)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: performance.throughput (type: 4)
- 2025-07-27 01:27:27.325 [INFO] Performance monitor initialized successfully
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: frames_processed (type: 0)
- 2025-07-27 01:27:27.325 [DEBUG] Registered metric: bytes_processed (type: 0)
- 2025-07-27 01:27:27.325 [INFO] Performance monitor started
- 2025-07-27 01:27:27.325 [DEBUG] Metric updated: frames_processed = 1
- 2025-07-27 01:27:27.326 [DEBUG] Metric updated: bytes_processed = 1024
- 2025-07-27 01:27:27.336 [DEBUG] Metric updated: frames_processed = 2
- 2025-07-27 01:27:27.336 [DEBUG] Metric updated: bytes_processed = 2048
- 2025-07-27 01:27:27.352 [DEBUG] Metric updated: frames_processed = 3
- 2025-07-27 01:27:27.352 [DEBUG] Metric updated: bytes_processed = 3072
- 2025-07-27 01:27:27.368 [DEBUG] Metric updated: frames_processed = 4
- 2025-07-27 01:27:27.368 [DEBUG] Metric updated: bytes_processed = 4096
- 2025-07-27 01:27:27.384 [DEBUG] Metric updated: frames_processed = 5
- 2025-07-27 01:27:27.384 [DEBUG] Metric updated: bytes_processed = 5120
- 2025-07-27 01:27:27.400 [DEBUG] Metric updated: frames_processed = 6
- 2025-07-27 01:27:27.400 [DEBUG] Metric updated: bytes_processed = 6144
- 2025-07-27 01:27:27.415 [DEBUG] Metric updated: frames_processed = 7
- 2025-07-27 01:27:27.415 [DEBUG] Metric updated: bytes_processed = 7168
- 2025-07-27 01:27:27.431 [DEBUG] Metric updated: frames_processed = 8
- 2025-07-27 01:27:27.431 [DEBUG] Metric updated: bytes_processed = 8192
- 2025-07-27 01:27:27.447 [DEBUG] Metric updated: frames_processed = 9
- 2025-07-27 01:27:27.447 [DEBUG] Metric updated: bytes_processed = 9216
- 2025-07-27 01:27:27.463 [DEBUG] Metric updated: frames_processed = 10
- 2025-07-27 01:27:27.463 [DEBUG] Metric updated: bytes_processed = 10240
- 2025-07-27 01:27:27.479 [DEBUG] Metric updated: frames_processed = 11
- 2025-07-27 01:27:27.479 [DEBUG] Metric updated: bytes_processed = 11264
- 2025-07-27 01:27:27.494 [DEBUG] Metric updated: frames_processed = 12
- 2025-07-27 01:27:27.494 [DEBUG] Metric updated: bytes_processed = 12288
- 2025-07-27 01:27:27.509 [DEBUG] Metric updated: frames_processed = 13
- 2025-07-27 01:27:27.509 [DEBUG] Metric updated: bytes_processed = 13312
- 2025-07-27 01:27:27.524 [DEBUG] Metric updated: frames_processed = 14
- 2025-07-27 01:27:27.524 [DEBUG] Metric updated: bytes_processed = 14336
- 2025-07-27 01:27:27.539 [DEBUG] Metric updated: frames_processed = 15
- 2025-07-27 01:27:27.539 [DEBUG] Metric updated: bytes_processed = 15360
- 2025-07-27 01:27:27.555 [DEBUG] Metric updated: frames_processed = 16
- 2025-07-27 01:27:27.555 [DEBUG] Metric updated: bytes_processed = 16384
- 2025-07-27 01:27:27.571 [DEBUG] Metric updated: frames_processed = 17
- 2025-07-27 01:27:27.571 [DEBUG] Metric updated: bytes_processed = 17408
- 2025-07-27 01:27:27.586 [DEBUG] Metric updated: frames_processed = 18
- 2025-07-27 01:27:27.586 [DEBUG] Metric updated: bytes_processed = 18432
- 2025-07-27 01:27:27.601 [DEBUG] Metric updated: frames_processed = 19
- 2025-07-27 01:27:27.601 [DEBUG] Metric updated: bytes_processed = 19456
- 2025-07-27 01:27:27.617 [DEBUG] Metric updated: frames_processed = 20
- 2025-07-27 01:27:27.617 [DEBUG] Metric updated: bytes_processed = 20480
- 2025-07-27 01:27:27.633 [DEBUG] Metric updated: frames_processed = 21
- 2025-07-27 01:27:27.633 [DEBUG] Metric updated: bytes_processed = 21504
- 2025-07-27 01:27:27.649 [DEBUG] Metric updated: frames_processed = 22
- 2025-07-27 01:27:27.649 [DEBUG] Metric updated: bytes_processed = 22528
- 2025-07-27 01:27:27.665 [DEBUG] Metric updated: frames_processed = 23
- 2025-07-27 01:27:27.665 [DEBUG] Metric updated: bytes_processed = 23552
- 2025-07-27 01:27:27.681 [DEBUG] Metric updated: frames_processed = 24
- 2025-07-27 01:27:27.681 [DEBUG] Metric updated: bytes_processed = 24576
- 2025-07-27 01:27:27.697 [DEBUG] Metric updated: frames_processed = 25
- 2025-07-27 01:27:27.697 [DEBUG] Metric updated: bytes_processed = 25600
- 2025-07-27 01:27:27.712 [DEBUG] Metric updated: frames_processed = 26
- 2025-07-27 01:27:27.712 [DEBUG] Metric updated: bytes_processed = 26624
- 2025-07-27 01:27:27.727 [DEBUG] Metric updated: frames_processed = 27
- 2025-07-27 01:27:27.727 [DEBUG] Metric updated: bytes_processed = 27648
- 2025-07-27 01:27:27.743 [DEBUG] Metric updated: frames_processed = 28
- 2025-07-27 01:27:27.743 [DEBUG] Metric updated: bytes_processed = 28672
- 2025-07-27 01:27:27.759 [DEBUG] Metric updated: frames_processed = 29
- 2025-07-27 01:27:27.759 [DEBUG] Metric updated: bytes_processed = 29696
- 2025-07-27 01:27:27.775 [DEBUG] Metric updated: frames_processed = 30
- 2025-07-27 01:27:27.775 [DEBUG] Metric updated: bytes_processed = 30720
- 2025-07-27 01:27:27.791 [DEBUG] Metric updated: frames_processed = 31
- 2025-07-27 01:27:27.791 [DEBUG] Metric updated: bytes_processed = 31744
- 2025-07-27 01:27:27.807 [DEBUG] Metric updated: frames_processed = 32
- 2025-07-27 01:27:27.807 [DEBUG] Metric updated: bytes_processed = 32768
- 2025-07-27 01:27:27.823 [DEBUG] Metric updated: frames_processed = 33
- 2025-07-27 01:27:27.823 [DEBUG] Metric updated: bytes_processed = 33792
- 2025-07-27 01:27:27.839 [DEBUG] Metric updated: frames_processed = 34
- 2025-07-27 01:27:27.839 [DEBUG] Metric updated: bytes_processed = 34816
- 2025-07-27 01:27:27.855 [DEBUG] Metric updated: frames_processed = 35
- 2025-07-27 01:27:27.855 [DEBUG] Metric updated: bytes_processed = 35840
- 2025-07-27 01:27:27.871 [DEBUG] Metric updated: frames_processed = 36
- 2025-07-27 01:27:27.871 [DEBUG] Metric updated: bytes_processed = 36864
- 2025-07-27 01:27:27.887 [DEBUG] Metric updated: frames_processed = 37
- 2025-07-27 01:27:27.887 [DEBUG] Metric updated: bytes_processed = 37888
- 2025-07-27 01:27:27.903 [DEBUG] Metric updated: frames_processed = 38
- 2025-07-27 01:27:27.903 [DEBUG] Metric updated: bytes_processed = 38912
- 2025-07-27 01:27:27.918 [DEBUG] Metric updated: frames_processed = 39
- 2025-07-27 01:27:27.918 [DEBUG] Metric updated: bytes_processed = 39936
- 2025-07-27 01:27:27.934 [DEBUG] Metric updated: frames_processed = 40
- 2025-07-27 01:27:27.934 [DEBUG] Metric updated: bytes_processed = 40960
- 2025-07-27 01:27:27.950 [DEBUG] Metric updated: frames_processed = 41
- 2025-07-27 01:27:27.950 [DEBUG] Metric updated: bytes_processed = 41984
- 2025-07-27 01:27:27.966 [DEBUG] Metric updated: frames_processed = 42
- 2025-07-27 01:27:27.966 [DEBUG] Metric updated: bytes_processed = 43008
- 2025-07-27 01:27:27.982 [DEBUG] Metric updated: frames_processed = 43
- 2025-07-27 01:27:27.982 [DEBUG] Metric updated: bytes_processed = 44032
- 2025-07-27 01:27:27.998 [DEBUG] Metric updated: frames_processed = 44
- 2025-07-27 01:27:27.998 [DEBUG] Metric updated: bytes_processed = 45056
- 2025-07-27 01:27:28.014 [DEBUG] Metric updated: frames_processed = 45
- 2025-07-27 01:27:28.014 [DEBUG] Metric updated: bytes_processed = 46080
- 2025-07-27 01:27:28.029 [DEBUG] Metric updated: frames_processed = 46
- 2025-07-27 01:27:28.030 [DEBUG] Metric updated: bytes_processed = 47104
- 2025-07-27 01:27:28.044 [DEBUG] Metric updated: frames_processed = 47
- 2025-07-27 01:27:28.045 [DEBUG] Metric updated: bytes_processed = 48128
- 2025-07-27 01:27:28.060 [DEBUG] Metric updated: frames_processed = 48
- 2025-07-27 01:27:28.060 [DEBUG] Metric updated: bytes_processed = 49152
- 2025-07-27 01:27:28.076 [DEBUG] Metric updated: frames_processed = 49
- 2025-07-27 01:27:28.076 [DEBUG] Metric updated: bytes_processed = 50176
- 2025-07-27 01:27:28.091 [DEBUG] Metric updated: frames_processed = 50
- 2025-07-27 01:27:28.091 [DEBUG] Metric updated: bytes_processed = 51200
- 2025-07-27 01:27:28.106 [DEBUG] Metric updated: frames_processed = 51
- 2025-07-27 01:27:28.106 [DEBUG] Metric updated: bytes_processed = 52224
- 2025-07-27 01:27:28.121 [DEBUG] Metric updated: frames_processed = 52
- 2025-07-27 01:27:28.121 [DEBUG] Metric updated: bytes_processed = 53248
- 2025-07-27 01:27:28.137 [DEBUG] Metric updated: frames_processed = 53
- 2025-07-27 01:27:28.137 [DEBUG] Metric updated: bytes_processed = 54272
- 2025-07-27 01:27:28.153 [DEBUG] Metric updated: frames_processed = 54
- 2025-07-27 01:27:28.153 [DEBUG] Metric updated: bytes_processed = 55296
- 2025-07-27 01:27:28.168 [DEBUG] Metric updated: frames_processed = 55
- 2025-07-27 01:27:28.168 [DEBUG] Metric updated: bytes_processed = 56320
- 2025-07-27 01:27:28.183 [DEBUG] Metric updated: frames_processed = 56
- 2025-07-27 01:27:28.183 [DEBUG] Metric updated: bytes_processed = 57344
- 2025-07-27 01:27:28.199 [DEBUG] Metric updated: frames_processed = 57
- 2025-07-27 01:27:28.199 [DEBUG] Metric updated: bytes_processed = 58368
- 2025-07-27 01:27:28.214 [DEBUG] Metric updated: frames_processed = 58
- 2025-07-27 01:27:28.215 [DEBUG] Metric updated: bytes_processed = 59392
- 2025-07-27 01:27:28.230 [DEBUG] Metric updated: frames_processed = 59
- 2025-07-27 01:27:28.230 [DEBUG] Metric updated: bytes_processed = 60416
- 2025-07-27 01:27:28.245 [DEBUG] Metric updated: frames_processed = 60
- 2025-07-27 01:27:28.245 [DEBUG] Metric updated: bytes_processed = 61440
- 2025-07-27 01:27:28.260 [DEBUG] Metric updated: frames_processed = 61
- 2025-07-27 01:27:28.260 [DEBUG] Metric updated: bytes_processed = 62464
- 2025-07-27 01:27:28.275 [DEBUG] Metric updated: frames_processed = 62
- 2025-07-27 01:27:28.275 [DEBUG] Metric updated: bytes_processed = 63488
- 2025-07-27 01:27:28.291 [DEBUG] Metric updated: frames_processed = 63
- 2025-07-27 01:27:28.291 [DEBUG] Metric updated: bytes_processed = 64512
- 2025-07-27 01:27:28.306 [DEBUG] Metric updated: frames_processed = 64
- 2025-07-27 01:27:28.307 [DEBUG] Metric updated: bytes_processed = 65536
- 2025-07-27 01:27:28.322 [DEBUG] Metric updated: frames_processed = 65
- 2025-07-27 01:27:28.322 [DEBUG] Metric updated: bytes_processed = 66560
- 2025-07-27 01:27:28.337 [DEBUG] Metric updated: frames_processed = 66
- 2025-07-27 01:27:28.337 [DEBUG] Metric updated: bytes_processed = 67584
- 2025-07-27 01:27:28.353 [DEBUG] Metric updated: frames_processed = 67
- 2025-07-27 01:27:28.353 [DEBUG] Metric updated: bytes_processed = 68608
- 2025-07-27 01:27:28.369 [DEBUG] Metric updated: frames_processed = 68
- 2025-07-27 01:27:28.369 [DEBUG] Metric updated: bytes_processed = 69632
- 2025-07-27 01:27:28.385 [DEBUG] Metric updated: frames_processed = 69
- 2025-07-27 01:27:28.385 [DEBUG] Metric updated: bytes_processed = 70656
- 2025-07-27 01:27:28.400 [DEBUG] Metric updated: frames_processed = 70
- 2025-07-27 01:27:28.400 [DEBUG] Metric updated: bytes_processed = 71680
- 2025-07-27 01:27:28.415 [DEBUG] Metric updated: frames_processed = 71
- 2025-07-27 01:27:28.415 [DEBUG] Metric updated: bytes_processed = 72704
- 2025-07-27 01:27:28.430 [DEBUG] Metric updated: frames_processed = 72
- 2025-07-27 01:27:28.430 [DEBUG] Metric updated: bytes_processed = 73728
- 2025-07-27 01:27:28.445 [DEBUG] Metric updated: frames_processed = 73
- 2025-07-27 01:27:28.445 [DEBUG] Metric updated: bytes_processed = 74752
- 2025-07-27 01:27:28.461 [DEBUG] Metric updated: frames_processed = 74
- 2025-07-27 01:27:28.461 [DEBUG] Metric updated: bytes_processed = 75776
- 2025-07-27 01:27:28.477 [DEBUG] Metric updated: frames_processed = 75
- 2025-07-27 01:27:28.477 [DEBUG] Metric updated: bytes_processed = 76800
- 2025-07-27 01:27:28.493 [DEBUG] Metric updated: frames_processed = 76
- 2025-07-27 01:27:28.493 [DEBUG] Metric updated: bytes_processed = 77824
- 2025-07-27 01:27:28.509 [DEBUG] Metric updated: frames_processed = 77
- 2025-07-27 01:27:28.509 [DEBUG] Metric updated: bytes_processed = 78848
- 2025-07-27 01:27:28.525 [DEBUG] Metric updated: frames_processed = 78
- 2025-07-27 01:27:28.525 [DEBUG] Metric updated: bytes_processed = 79872
- 2025-07-27 01:27:28.541 [DEBUG] Metric updated: frames_processed = 79
- 2025-07-27 01:27:28.541 [DEBUG] Metric updated: bytes_processed = 80896
- 2025-07-27 01:27:28.557 [DEBUG] Metric updated: frames_processed = 80
- 2025-07-27 01:27:28.557 [DEBUG] Metric updated: bytes_processed = 81920
- 2025-07-27 01:27:28.573 [DEBUG] Metric updated: frames_processed = 81
- 2025-07-27 01:27:28.573 [DEBUG] Metric updated: bytes_processed = 82944
- 2025-07-27 01:27:28.589 [DEBUG] Metric updated: frames_processed = 82
- 2025-07-27 01:27:28.589 [DEBUG] Metric updated: bytes_processed = 83968
- 2025-07-27 01:27:28.605 [DEBUG] Metric updated: frames_processed = 83
- 2025-07-27 01:27:28.605 [DEBUG] Metric updated: bytes_processed = 84992
- 2025-07-27 01:27:28.620 [DEBUG] Metric updated: frames_processed = 84
- 2025-07-27 01:27:28.620 [DEBUG] Metric updated: bytes_processed = 86016
- 2025-07-27 01:27:28.635 [DEBUG] Metric updated: frames_processed = 85
- 2025-07-27 01:27:28.635 [DEBUG] Metric updated: bytes_processed = 87040
- 2025-07-27 01:27:28.650 [DEBUG] Metric updated: frames_processed = 86
- 2025-07-27 01:27:28.650 [DEBUG] Metric updated: bytes_processed = 88064
- 2025-07-27 01:27:28.665 [DEBUG] Metric updated: frames_processed = 87
- 2025-07-27 01:27:28.665 [DEBUG] Metric updated: bytes_processed = 89088
- 2025-07-27 01:27:28.681 [DEBUG] Metric updated: frames_processed = 88
- 2025-07-27 01:27:28.681 [DEBUG] Metric updated: bytes_processed = 90112
- 2025-07-27 01:27:28.697 [DEBUG] Metric updated: frames_processed = 89
- 2025-07-27 01:27:28.697 [DEBUG] Metric updated: bytes_processed = 91136
- 2025-07-27 01:27:28.712 [DEBUG] Metric updated: frames_processed = 90
- 2025-07-27 01:27:28.712 [DEBUG] Metric updated: bytes_processed = 92160
- 2025-07-27 01:27:28.727 [DEBUG] Metric updated: frames_processed = 91
- 2025-07-27 01:27:28.727 [DEBUG] Metric updated: bytes_processed = 93184
- 2025-07-27 01:27:28.743 [DEBUG] Metric updated: frames_processed = 92
- 2025-07-27 01:27:28.743 [DEBUG] Metric updated: bytes_processed = 94208
- 2025-07-27 01:27:28.759 [DEBUG] Metric updated: frames_processed = 93
- 2025-07-27 01:27:28.759 [DEBUG] Metric updated: bytes_processed = 95232
- 2025-07-27 01:27:28.774 [DEBUG] Metric updated: frames_processed = 94
- 2025-07-27 01:27:28.774 [DEBUG] Metric updated: bytes_processed = 96256
- 2025-07-27 01:27:28.789 [DEBUG] Metric updated: frames_processed = 95
- 2025-07-27 01:27:28.789 [DEBUG] Metric updated: bytes_processed = 97280
- 2025-07-27 01:27:28.805 [DEBUG] Metric updated: frames_processed = 96
- 2025-07-27 01:27:28.805 [DEBUG] Metric updated: bytes_processed = 98304
- 2025-07-27 01:27:28.821 [DEBUG] Metric updated: frames_processed = 97
- 2025-07-27 01:27:28.821 [DEBUG] Metric updated: bytes_processed = 99328
- 2025-07-27 01:27:28.836 [DEBUG] Metric updated: frames_processed = 98
- 2025-07-27 01:27:28.836 [DEBUG] Metric updated: bytes_processed = 100352
- 2025-07-27 01:27:28.851 [DEBUG] Metric updated: frames_processed = 99
- 2025-07-27 01:27:28.851 [DEBUG] Metric updated: bytes_processed = 101376
- 2025-07-27 01:27:28.867 [DEBUG] Metric updated: frames_processed = 100
- 2025-07-27 01:27:28.867 [DEBUG] Metric updated: bytes_processed = 102400
- 2025-07-27 01:27:28.882 [INFO] Performance monitor stopped
- 2025-07-27 01:27:28.882 [INFO] 性能统计:
- 2025-07-27 01:27:28.882 [INFO] 处理帧数: 100
- 2025-07-27 01:27:28.882 [INFO] 处理字节数: 102400
- 2025-07-27 01:27:28.883 [INFO] [成功] 性能监控功能测试通过
- 2025-07-27 01:27:28.883 [INFO] Performance monitor closed
- 2025-07-27 01:27:28.883 [INFO] ✓ 性能监控功能 测试通过
- 2025-07-27 01:27:28.883 [INFO]
- === 运行测试: 同步器功能 ===
- 2025-07-27 01:27:28.883 [INFO] [测试] 同步器功能...
- 2025-07-27 01:27:28.883 [DEBUG] Synchronizer created with strategy: 0
- 2025-07-27 01:27:28.883 [INFO] 视频延迟: {:.2f} ms
- 2025-07-27 01:27:28.883 [INFO] 音频延迟: {:.2f} ms
- 2025-07-27 01:27:28.883 [INFO] 音视频同步状态: 不同步
- 2025-07-27 01:27:28.884 [INFO] 同步误差: {:.2f} ms
- 2025-07-27 01:27:28.884 [INFO] [成功] 同步器功能测试通过
- 2025-07-27 01:27:28.884 [INFO] Synchronizer closed
- 2025-07-27 01:27:28.884 [DEBUG] Synchronizer destroyed
- 2025-07-27 01:27:28.884 [INFO] ✓ 同步器功能 测试通过
- 2025-07-27 01:27:28.884 [INFO]
- === 运行测试: 线程池工厂功能 ===
- 2025-07-27 01:27:28.884 [INFO] [测试] 线程池工厂功能...
- 2025-07-27 01:27:28.884 [INFO] Thread pool initialized with 2 min threads, 24 max threads
- 2025-07-27 01:27:28.884 [INFO] Thread pool started with 2 threads
- 2025-07-27 01:27:28.884 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.884 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.885 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.885 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.885 [INFO] Thread pool stopped
- 2025-07-27 01:27:28.885 [INFO] CPU核心数: 24
- 2025-07-27 01:27:28.885 [INFO] 推荐线程数: 24
- 2025-07-27 01:27:28.885 [INFO] [成功] 线程池工厂功能测试通过
- 2025-07-27 01:27:28.885 [INFO] ✓ 线程池工厂功能 测试通过
- 2025-07-27 01:27:28.885 [INFO]
- === 运行测试: 线程池管理器功能 ===
- 2025-07-27 01:27:28.885 [INFO] [测试] 线程池管理器功能...
- 2025-07-27 01:27:28.885 [INFO] Thread pool initialized with 2 min threads, 24 max threads
- 2025-07-27 01:27:28.885 [INFO] Thread pool started with 2 threads
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.886 [INFO] Thread pool initialized with 2 min threads, 4 max threads
- 2025-07-27 01:27:28.886 [INFO] Thread pool started with 2 threads
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu started
- 2025-07-27 01:27:28.886 [INFO] Created thread pool: test_pool
- 2025-07-27 01:27:28.886 [INFO] 线程池数量: 1
- 2025-07-27 01:27:28.886 [INFO] - test_pool
- 2025-07-27 01:27:28.886 [INFO] Cleared 0 pending tasks
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.886 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.887 [INFO] Thread pool stopped
- 2025-07-27 01:27:28.887 [INFO] Destroyed thread pool: test_pool
- 2025-07-27 01:27:28.887 [INFO] [成功] 线程池管理器功能测试通过
- 2025-07-27 01:27:28.887 [INFO] ✓ 线程池管理器功能 测试通过
- 2025-07-27 01:27:28.887 [INFO]
- === 测试结果汇总 ===
- 2025-07-27 01:27:28.887 [INFO] 通过测试: 8/8
- 2025-07-27 01:27:28.887 [INFO] 成功率: 100%
- 2025-07-27 01:27:28.887 [INFO] 所有工具类测试通过
- 2025-07-27 01:27:28.887 [INFO] Cleared 0 pending tasks
- 2025-07-27 01:27:28.887 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.888 [DEBUG] Worker thread %zu stopped
- 2025-07-27 01:27:28.888 [INFO] Thread pool stopped
- 2025-07-27 01:27:28.888 [INFO] All thread pools shutdown
|