Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Nov 15, 2023
1 parent 20f05ca commit 2df3b19
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_2A.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ int intel_cpu_fm_06_2a_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_2a_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_2A.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int intel_cpu_fm_06_2a_monitoring(FILE *output);
int intel_cpu_fm_06_2a_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_2a_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_2a_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_2D.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ int intel_cpu_fm_06_2d_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_2d_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int intel_cpu_fm_06_2d_monitoring(FILE *output);
int intel_cpu_fm_06_2d_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_2d_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_2d_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_3E.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ int intel_cpu_fm_06_3e_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_3e_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_3E.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int intel_cpu_fm_06_3e_monitoring(FILE *output);
int intel_cpu_fm_06_3e_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_3e_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_3e_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_3F.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ int intel_cpu_fm_06_3f_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_3f_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_3F.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int intel_cpu_fm_06_3f_monitoring(FILE *output);
int intel_cpu_fm_06_3f_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_3f_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_3f_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_4F.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ int intel_cpu_fm_06_4f_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_4f_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_4F.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int intel_cpu_fm_06_4f_monitoring(FILE *output);
int intel_cpu_fm_06_4f_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_4f_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_4f_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_55.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ int intel_cpu_fm_06_55_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_55_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_55.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int intel_cpu_fm_06_55_get_node_power_json(char **get_power_obj_str);
int intel_cpu_fm_06_55_cap_best_effort_node_power_limit(int node_power_limit);

int intel_cpu_fm_06_55_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_55_cap_frequency(int core_freq_mhz);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_6A.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int intel_cpu_fm_06_6a_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_6a_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_6A.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ int intel_cpu_fm_06_6a_get_features(void);
int intel_cpu_fm_06_6a_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_6a_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

#endif
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_9E.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ int intel_cpu_fm_06_9e_get_node_power_json(char **get_power_obj_str)
}

int intel_cpu_fm_06_9e_get_node_power_domain_info_json(char
**get_domain_obj_str)
**get_domain_obj_str)
{
char *val = getenv("VARIORUM_LOG");
if (val != NULL && atoi(val) == 1)
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/Intel/Intel_06_9E.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ int intel_cpu_fm_06_9e_monitoring(FILE *output);
int intel_cpu_fm_06_9e_get_node_power_json(char **get_power_obj_str);

int intel_cpu_fm_06_9e_get_node_power_domain_info_json(char
**get_domain_obj_str);
**get_domain_obj_str);

int intel_cpu_fm_06_9e_cap_best_effort_node_power_limit(int node_power_limit);

Expand Down
2 changes: 1 addition & 1 deletion src/variorum/msr/msr_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static int do_batch_op(int batchnum, int type)

/* If current flag is the opposite type, switch the flags. */
if ((type == BATCH_WRITE && batch->ops[0].isrdmsr) || (type == BATCH_READ &&
!batch->ops[0].isrdmsr))
!batch->ops[0].isrdmsr))
{
__u8 readflag = (__u8)(type == BATCH_READ ? 1 : 0);
for (j = 0; j < (int)batch->numops; j++)
Expand Down
4 changes: 2 additions & 2 deletions src/variorum/variorum.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void print_children(hwloc_topology_t topology, hwloc_obj_t obj,
//exit condition
#ifdef LIBJUSTIFY_FOUND
if ((int)obj->logical_index == hwloc_get_type_depth(topology,
HWLOC_OBJ_NUMANODE))
HWLOC_OBJ_NUMANODE))
{
cflush();
}
Expand Down Expand Up @@ -465,7 +465,7 @@ int variorum_cap_socket_frequency_limit(int socketid, int socket_freq_mhz)
return 0;
}
err = g_platform[i].variorum_cap_socket_frequency_limit(socketid,
socket_freq_mhz);
socket_freq_mhz);
if (err)
{
return -1;
Expand Down

0 comments on commit 2df3b19

Please sign in to comment.