Skip to content

Commit 2d4faca

Browse files
committed
Metadata for liquid controls
1 parent 5b2394f commit 2d4faca

3 files changed

Lines changed: 88 additions & 2 deletions

File tree

Common.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,14 @@ \section{Big List of Metadata}\label{sec:BLOM}
908908
\mVendorInfoLen
909909
\mVendorInfo
910910
\mMeasureMethod
911+
\mLiquidResCap
912+
\mLiquidType
913+
\mLiquidMaxPumpFlow
914+
\mLiquidMinPumpFlow
915+
\mLiquidRecommendedPumpFlow
916+
\mLiquidMaxTemp
917+
\mLiquidMinTemp
918+
\mLiquidMaxPressure
911919
\end{attributetable}
912920

913921
%%%\begin{center}

PowerAPI_Community.tex

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,78 @@
577577
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
578578
%\texttt{PWR\_MD\_MEASURE\_METHOD} & Get & uint64_t & Denotes the measurement method: an actual measurement (returned value = 0) or a model based estimate (return value = 1). Other values $> 1$ may be used to denote multiple vendor specific models in the situation where multiple models may exist. \\
579579
\newcommand{\mMeasureMethod}{%
580-
\metadata{measure\_method} {\aG}{\ptrchar}{Denotes the measurement method: an actual measurement (returned value = 0) or a model based estimate (return value = 1). Other values $> 1$ may be used to denote multiple vendor specific models in the situation where multiple models may exist.}%
580+
\metadata{measure\_method} {\aG}{\uint}{Denotes the measurement method: an actual measurement (returned value = 0) or a model based estimate (return value = 1). Other values $> 1$ may be used to denote multiple vendor specific models in the situation where multiple models may exist.}%
581581
}
582582
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
583+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
584+
%\texttt{PWR\_MD\_LIQUID\_RES\_CAP} & Get & uint64_t & The capacity of the liquid resevoir of the object.\\
585+
\newcommand{\mLiquidResCap}{%
586+
\metadata{liquid\_res\_cap} {\aG}{\uint}{Denotes the liquid resevoir capacity in Litres.}%
587+
}
588+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
589+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
590+
%\texttt{PWR\_MD\_LIQUID\_TYPE} & Get & char * & The type of liquid in the cooling infrastructure for the object.\\
591+
\newcommand{\mLiquidType}{%
592+
\metadata{liquid\_type} {\aG}{\ptrchar}{Information string describing the liquid cooling fluid type.}%
593+
}
594+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
595+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
596+
%\texttt{PWR\_MD\_LIQUID\_MAX\_PUMP\_FLOW} & Get & double & The maxmium flow rate of the pump closest to the object.\\
597+
\newcommand{\mLiquidMaxPumpFlow}{%
598+
\metadata{liquid\_max\_pump\_flow} {\aG}{\dbl}{Denotes the maximum flow rate in Litres.}%
599+
}
600+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
601+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
602+
%\texttt{PWR\_MD\_LIQUID\_MIN\_PUMP\_FLOW} & Get & double & The minimum flow rate of the pump closest to the object.\\
603+
\newcommand{\mLiquidMinPumpFlow}{%
604+
\metadata{liquid\_min\_pump\_flow} {\aG}{\dbl}{Denotes the minimum flow rate in Litres.}%
605+
}
606+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
607+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
608+
%\texttt{PWR\_MD\_LIQUID\_RECOMMENDED\_PUMP\_FLOW} & Get & double & The vendor recommended flow rate of the pump closest to the object.\\
609+
\newcommand{\mLiquidRecommendedPumpFlow}{%
610+
\metadata{liquid\_recommended\_pump\_flow} {\aG}{\dbl}{Denotes the recommended flow rate in Litres.}%
611+
}
612+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
613+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
614+
%\texttt{PWR\_MD\_LIQUID\_MAX\_TEMP} & Get & double & The maxmium temperature of the cooling liquid.\\
615+
\newcommand{\mLiquidMaxTemp}{%
616+
\metadata{liquid\_max\_temp} {\aG}{\dbl}{Denotes the maximum temperature in degrees celcius.}%
617+
}
618+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
619+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
620+
%\texttt{PWR\_MD\_LIQUID\_MIN\_TEMP} & Get & double & The minimum temperature of the cooling liquid.\\
621+
\newcommand{\mLiquidMinTemp}{%
622+
\metadata{liquid\_min\_temp} {\aG}{\dbl}{Denotes the minimum temperature in degrees celcius.}%
623+
}
624+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
625+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
626+
%\texttt{PWR\_MD\_LIQUID\_MAX\_PRESSUE} & Get & double & The maxmium pressure in the cooling liquid line.\\
627+
\newcommand{\mLiquidMaxPressure}{%
628+
\metadata{liquid\_max\_pressure} {\aG}{\dbl}{Denotes the maximum pressue in Bar or PSI?????.}%
629+
}
630+
%------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
631+
632+
633+
634+
635+
636+
637+
638+
639+
640+
641+
642+
% PWR_MD_LIQUID_RES_CAP,
643+
% PWR_MD_LIQUID_TYPE,
644+
% PWR_MD_LIQUID_MAX_PUMP_FLOW,
645+
% PWR_MD_LIQUID_MIN_PUMP_FLOW,
646+
% PWR_MD_LIQUID_RECOMMENED_PUMP_FLOW,
647+
% PWR_MD_LIQUID_MAX_TEMP,
648+
% PWR_MD_LIQUID_MIN_TEMP,
649+
% PWR_MD_LIQUID_MAX_PRESSURE,
650+
651+
583652

584653
% End Macro definitions
585654

TypeDefs.tex

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ \subsubsection{PWR_ObjType}\label{type:ObjType}
131131
PWR_OBJ_MEM,
132132
PWR_OBJ_NIC,
133133
PWR_OBJ_HT,
134+
PWR_OBJ_CDU,
134135
PWR_NUM_OBJ_TYPES,
135136
/* */
136137
PWR_OBJ_INVALID = -1,
@@ -287,7 +288,15 @@ \subsubsection{PWR_MetaName}\label{type:MetaName}
287288
PWR_MD_VENDOR_INFO_LEN, /* uint64_t, max strlen of PWR_MD_VENDOR_INFO */
288289
PWR_MD_VENDOR_INFO, /* char *, C-style NULL-terminated ASCII string */
289290
PWR_MD_MEASURE_METHOD, /* uint64_t, 0/1 depending on real/model mesurement */
290-
PWR_NUM_META_NAMES,
291+
PWR_MD_LIQUID_RES_CAP, /* uint64_t */
292+
PWR_MD_LIQUID_TYPE, /* char *, C-style NULL-terminated ASCII string */
293+
PWR_MD_LIQUID_MAX_PUMP_FLOW, /* double */
294+
PWR_MD_LIQUID_MIN_PUMP_FLOW, /* double */
295+
PWR_MD_LIQUID_RECOMMENED_PUMP_FLOW, /* double */
296+
PWR_MD_LIQUID_MAX_TEMP, /* double, degrees Celcius */
297+
PWR_MD_LIQUID_MIN_TEMP, /* double, degrees Celcius */
298+
PWR_MD_LIQUID_MAX_PRESSURE, /* double, PSI */
299+
PWR_NUM_META_NAMES, /* uint64_t */
291300
/* */
292301
PWR_MD_INVALID = -1,
293302
PWR_MD_NOT_SPECIFIED = -2

0 commit comments

Comments
 (0)