[session][input] Prefer zx_clock_get_monotonic to zx_clock_get

Track down and convert calls made to
zx::Time::get(zx::ClockId::Monotonic) and change them into calls to
zx::Time::get_monotonic() instead.

This is part of the process of getting ready for the deprecation of
zx_clock_get(...), and has the added benefit of being a tiny bit
faster because clock_get_monotonic can almost always skip the syscall.

Change-Id: Idf1637f66dc58ef20dd4f518da41bbf2649e95cb
Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/441915
Testability-Review: Nick Maniscalco <maniscalco@google.com>
Commit-Queue: John Grossman <johngro@google.com>
Reviewed-by: Andrew Wilson <anwilson@google.com>
diff --git a/session_shells/ermine/session/src/mouse_pointer_hack.rs b/session_shells/ermine/session/src/mouse_pointer_hack.rs
index 276b1e1..198c966 100644
--- a/session_shells/ermine/session/src/mouse_pointer_hack.rs
+++ b/session_shells/ermine/session/src/mouse_pointer_hack.rs
@@ -229,7 +229,7 @@
         let second_cursor_position = Position { x: 10.0, y: -10.0 };
         let descriptor = mouse_device_descriptor(DEVICE_ID);
         let event_time =
-            zx::Time::get(zx::ClockId::Monotonic).into_nanos() as input_device::EventTime;
+            zx::Time::get_monotonic().into_nanos() as input_device::EventTime;
         let input_events = vec![
             create_mouse_event(
                 mouse::MouseLocation::Relative(first_cursor_position),
@@ -292,7 +292,7 @@
         let cursor_relative_position = Position { x: 50.0, y: 75.0 };
         let descriptor = mouse_device_descriptor(DEVICE_ID);
         let event_time =
-            zx::Time::get(zx::ClockId::Monotonic).into_nanos() as input_device::EventTime;
+            zx::Time::get_monotonic().into_nanos() as input_device::EventTime;
         let input_events = vec![create_mouse_event(
             mouse::MouseLocation::Relative(cursor_relative_position),
             fidl_ui_input::PointerEventPhase::Move,
@@ -342,7 +342,7 @@
         let second_cursor_position = Position { x: 10.0, y: 20.0 };
         let descriptor = mouse_device_descriptor(DEVICE_ID);
         let event_time =
-            zx::Time::get(zx::ClockId::Monotonic).into_nanos() as input_device::EventTime;
+            zx::Time::get_monotonic().into_nanos() as input_device::EventTime;
 
         let input_events = vec![
             create_mouse_event(