sched-pelt.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Generated by Documentation/scheduler/sched-pelt; do not modify. */
  3. #ifdef CONFIG_PELT_UTIL_HALFLIFE_32
  4. static const u32 runnable_avg_yN_inv[] = {
  5. 0xffffffff,0xfa83b2da,0xf5257d14,0xefe4b99a,
  6. 0xeac0c6e6,0xe5b906e6,0xe0ccdeeb,0xdbfbb796,
  7. 0xd744fcc9,0xd2a81d91,0xce248c14,0xc9b9bd85,
  8. 0xc5672a10,0xc12c4cc9,0xbd08a39e,0xb8fbaf46,
  9. 0xb504f333,0xb123f581,0xad583ee9,0xa9a15ab4,
  10. 0xa5fed6a9,0xa2704302,0x9ef5325f,0x9b8d39b9,
  11. 0x9837f050,0x94f4efa8,0x91c3d373,0x8ea4398a,
  12. 0x8b95c1e3,0x88980e80,0x85aac367,0x82cd8698,
  13. };
  14. static const u32 runnable_avg_yN_sum[] = {
  15. 0, 1002, 1982, 2941, 3880, 4798, 5697, 6576, 7437, 8279, 9103,
  16. 9909,10698,11470,12226,12966,13690,14398,15091,15769,16433,17082,
  17. 17718,18340,18949,19545,20128,20698,21256,21802,22336,22859,23371,
  18. };
  19. #define LOAD_AVG_PERIOD 32
  20. #define LOAD_AVG_MAX 47742
  21. #define LOAD_AVG_MAX_N 345
  22. #endif
  23. #ifdef CONFIG_PELT_UTIL_HALFLIFE_16
  24. static const u32 runnable_avg_yN_inv[] = {
  25. 0xffffffff,0xf5257d14,0xeac0c6e6,0xe0ccdeeb,
  26. 0xd744fcc9,0xce248c14,0xc5672a10,0xbd08a39e,
  27. 0xb504f333,0xad583ee9,0xa5fed6a9,0x9ef5325f,
  28. 0x9837f050,0x91c3d373,0x8b95c1e3,0x85aac367,
  29. };
  30. static const u32 runnable_avg_yN_sum[] = {
  31. 0, 980, 1919, 2818, 3679, 4503, 5292, 6048, 6772, 7465, 8129,
  32. 8764, 9373, 9956,10514,11048,11560,
  33. };
  34. #define LOAD_AVG_PERIOD 16
  35. #define LOAD_AVG_MAX 24130
  36. #define LOAD_AVG_MAX_N 172
  37. #endif
  38. #ifdef CONFIG_PELT_UTIL_HALFLIFE_8
  39. static const u32 runnable_avg_yN_inv[] = {
  40. 0xffffffff,0xeac0c6e6,0xd744fcc9,0xc5672a10,
  41. 0xb504f333,0xa5fed6a9,0x9837f050,0x8b95c1e3,
  42. };
  43. static const u32 runnable_avg_yN_sum[] = {
  44. 0, 939, 1800, 2589, 3313, 3977, 4585, 5143, 5655,
  45. };
  46. #define LOAD_AVG_PERIOD 8
  47. #define LOAD_AVG_MAX 12326
  48. #define LOAD_AVG_MAX_N 85
  49. #endif