554 {
555 klog::Info(
"\n=== CFS Scheduler System Tests ===\n");
556
557 if (!test_cfs_basic_functionality()) {
558 return false;
559 }
560
561 if (!test_cfs_vruntime_ordering()) {
562 return false;
563 }
564
565 if (!test_cfs_new_task_vruntime()) {
566 return false;
567 }
568
569 if (!test_cfs_weight_impact()) {
570 return false;
571 }
572
573 if (!test_cfs_preemption()) {
574 return false;
575 }
576
577 if (!test_cfs_no_preemption()) {
578 return false;
579 }
580
581 if (!test_cfs_dequeue()) {
582 return false;
583 }
584
585 if (!test_cfs_statistics()) {
586 return false;
587 }
588
589 if (!test_cfs_min_vruntime_update()) {
590 return false;
591 }
592
593 if (!test_cfs_multiple_ticks()) {
594 return false;
595 }
596
597 if (!test_cfs_fairness()) {
598 return false;
599 }
600
601 if (!test_cfs_mixed_operations()) {
602 return false;
603 }
604
605 if (!test_cfs_robustness()) {
606 return false;
607 }
608
609 klog::Info(
"=== All CFS Scheduler Tests Passed ===\n");
610 return true;
611}
auto Info(etl::format_string< Args... > fmt, Args &&... args) -> void
以 INFO 级别记录日志