code: def bench_directed_hausdorff_distance(benchmark, sorted_trajectories):
      coords = sorted_trajectories[0][["x", "y"]].interleave_columns()
      offsets = sorted_trajectories[1]
      s = cuspatial.GeoSeries.from_multipoints_xy(coords, offsets)
      benchmark(cuspatial.directed_hausdorff_distance, s)
  
imports: import cupy
  import geopandas
  import pytest
  import cudf
  import cuspatial
label_desc: Use image node_id 9 for calling a global function with example usage: bench_directed_hausdorff_distance(benchmark, sorted_trajectories) without return types