Skip to content

Commit 58e24af

Browse files
authored
profiling - Minor update in comment (#1150)
- Ensure that the start time is mentioned as an optional field.
1 parent 397b8c8 commit 58e24af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datadog-profiling-ffi/src/profiles/datatypes.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,8 @@ pub unsafe extern "C" fn ddog_prof_EncodedProfile_bytes<'a>(
730730
///
731731
/// # Arguments
732732
/// * `profile` - a reference to the profile being serialized.
733-
/// * `start_time` - start time for the serialized profile.
733+
/// * `start_time` - optional start time for the serialized profile. If None/null is passed, the
734+
/// time of profile creation will be used.
734735
/// * `end_time` - optional end time of the profile. If None/null is passed, the current time will
735736
/// be used.
736737
///

0 commit comments

Comments
 (0)