Skip to content

Commit

Permalink
asf
Browse files Browse the repository at this point in the history
  • Loading branch information
yinggeh committed Aug 13, 2024
1 parent 849f3f2 commit fce8314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/triton/core/tritonserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,7 @@ TRITONSERVER_DECLSPEC struct TRITONSERVER_Error* TRITONSERVER_MetricArgsNew(

TRITONSERVER_DECLSPEC struct TRITONSERVER_Error*
TRITONSERVER_MetricArgsSetHistogram(
struct TRITONSERVER_MetricArgs* args, double* buckets,
struct TRITONSERVER_MetricArgs* args, const double* buckets,
const uint64_t buckets_count);

/// Delete a metric args object.
Expand Down
2 changes: 1 addition & 1 deletion src/tritonserver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3394,7 +3394,7 @@ TRITONSERVER_MetricArgsNew(TRITONSERVER_MetricArgs** args)

TRITONSERVER_Error*
TRITONSERVER_MetricArgsSetHistogram(
TRITONSERVER_MetricArgs* args, double* buckets,
TRITONSERVER_MetricArgs* args, const double* buckets,
const uint64_t buckets_count)
{
#ifdef TRITON_ENABLE_METRICS
Expand Down

0 comments on commit fce8314

Please sign in to comment.