mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 13:54:27 +08:00
ci: Redo format.sh --all script & backfill lint fixes (#9956)
This commit is contained in:
@@ -11,13 +11,13 @@ cdef extern from "opencensus/tags/tag_key.h" nogil:
|
||||
cdef extern from "ray/stats/metric.h" nogil:
|
||||
cdef cppclass CMetric "ray::stats::Metric":
|
||||
CMetric(const c_string &name,
|
||||
const c_string &description,
|
||||
const c_string &unit,
|
||||
const c_vector[CTagKey] &tag_keys)
|
||||
const c_string &description,
|
||||
const c_string &unit,
|
||||
const c_vector[CTagKey] &tag_keys)
|
||||
c_string GetName() const
|
||||
void Record(double value)
|
||||
void Record(double value,
|
||||
unordered_map[c_string, c_string] &tags)
|
||||
void Record(double value,
|
||||
unordered_map[c_string, c_string] &tags)
|
||||
|
||||
cdef cppclass CGauge "ray::stats::Gauge":
|
||||
CGauge(const c_string &name,
|
||||
@@ -42,4 +42,4 @@ cdef extern from "ray/stats/metric.h" nogil:
|
||||
const c_string &description,
|
||||
const c_string &unit,
|
||||
const c_vector[double] &boundaries,
|
||||
const c_vector[CTagKey] &tag_keys)
|
||||
const c_vector[CTagKey] &tag_keys)
|
||||
|
||||
Reference in New Issue
Block a user