@@ -1211,8 +1211,6 @@ REASON_CODE SysInfoProc(Window *win,
12111211
12121212 PUT (SCANKEY_NULL , attrib [0 ], width , 2 , "%s" , RSC (PERFORMANCE ).CODE ());
12131213
1214- PUT (SCANKEY_NULL , attrib [0 ], width , 3 , "%s" , RSC (PSTATE ).CODE ());
1215-
12161214 coreClock = (CLOCK_ARG ) {.NC = 0 , .Offset = 0 };
12171215
12181216 coreClock .NC = BOXKEY_RATIO_CLOCK_OR | CLOCK_MOD_TGT ;
@@ -1231,7 +1229,7 @@ REASON_CODE SysInfoProc(Window *win,
12311229 1 , coreClock .ullong ,
12321230 width , OutFunc , cellPadding , attrib [3 ] ),
12331231 RefreshTopFreq , BOOST (TGT ) );
1234-
1232+ /* Section Mark */
12351233 if ((RO (Shm )-> Proc .Features .HWP_Enable == 1 )
12361234 || (RO (Shm )-> Proc .Features .ACPI_CPPC == 1 ))
12371235 {
@@ -1290,12 +1288,48 @@ REASON_CODE SysInfoProc(Window *win,
12901288 width , OutFunc , cellPadding , attrib [3 ] ),
12911289 RefreshTopFreq , BOOST (HWP_TGT ) );
12921290 }
1291+ /* Section Mark */
1292+ if (RO (Shm )-> Proc .Features .Turbo_OPP == 1 )
1293+ {
12931294 PUT ( SCANKEY_NULL , attrib [RO (Shm )-> Proc .Features .Turbo_Unlock ],
1294- width , 2 , "%s%.*s[%7.*s]" , RSC (BOOST ).CODE (),
1295- width - 12 - RSZ (BOOST ), hSpace , 6 ,
1295+ width , 2 , "%s%.*s[%7.*s]" , RSC (TURBO ).CODE (),
1296+ width - 12 - RSZ (TURBO ), hSpace , 6 ,
12961297 RO (Shm )-> Proc .Features .Turbo_Unlock ?
12971298 RSC (UNLOCK ).CODE () : RSC (LOCK ).CODE () );
12981299
1300+ CFlop = & RO (Shm )-> Cpu [
1301+ Ruler .Top [ BOOST (TBH ) ]
1302+ ].FlipFlop [
1303+ !RO (Shm )-> Cpu [ Ruler .Top [ BOOST (TBH ) ] ].Toggle
1304+ ];
1305+
1306+ GridCall ( PrintRatioFreq (win , CFlop ,
1307+ 0 , (char * ) RSC (TBH ).CODE (),
1308+ & RO (Shm )-> Cpu [
1309+ Ruler .Top [ BOOST (TBH ) ]
1310+ ].Boost [ BOOST (TBH ) ],
1311+ 0 , SCANKEY_NULL ,
1312+ width , OutFunc , cellPadding , attrib [3 ] ),
1313+ RefreshTopFreq , BOOST (TBH ) );
1314+
1315+ CFlop = & RO (Shm )-> Cpu [
1316+ Ruler .Top [ BOOST (TBO ) ]
1317+ ].FlipFlop [
1318+ !RO (Shm )-> Cpu [ Ruler .Top [ BOOST (TBO ) ] ].Toggle
1319+ ];
1320+
1321+ GridCall ( PrintRatioFreq (win , CFlop ,
1322+ 0 , (char * ) RSC (TBO ).CODE (),
1323+ & RO (Shm )-> Cpu [
1324+ Ruler .Top [ BOOST (TBO ) ]
1325+ ].Boost [BOOST (TBO )],
1326+ 0 , SCANKEY_NULL ,
1327+ width , OutFunc , cellPadding , attrib [3 ] ),
1328+ RefreshTopFreq , BOOST (TBO ) );
1329+ }
1330+ /* Section Mark */
1331+ PUT (SCANKEY_NULL , attrib [0 ], width , 2 , "%s" , RSC (OPP ).CODE ());
1332+
12991333 for (boost = BOOST (1 C ), activeCores = 1 ;
13001334 boost > BOOST (1 C )- (enum RATIO_BOOST )RO (Shm )-> Proc .Features .SpecTurboRatio ;
13011335 boost -- , activeCores ++ )
@@ -1349,7 +1383,7 @@ REASON_CODE SysInfoProc(Window *win,
13491383 RefreshHybridFreq , boost );
13501384 }
13511385 }
1352-
1386+ /* Section Mark */
13531387 PUT ( SCANKEY_NULL , attrib [RO (Shm )-> Proc .Features .Uncore_Unlock ],
13541388 width , 2 , "%s%.*s[%7.*s]" , RSC (UNCORE ).CODE (),
13551389 width - 18 , hSpace , 6 ,
@@ -7501,8 +7535,8 @@ unsigned int MultiplierIsRatio(unsigned int cpu, unsigned int multiplier)
75017535 for (boost = BOOST (MIN ); boost < BOOST (SIZE ); boost ++ )
75027536 {
75037537 switch (boost ) {
7504- case BOOST (CPB ):
7505- case BOOST (XFR ):
7538+ case BOOST (TBO ):
7539+ case BOOST (TBH ):
75067540 fallthrough ;
75077541 default :
75087542 if (RO (Shm )-> Cpu [cpu ].Boost [boost ] == multiplier )
0 commit comments