Skip to content

Replace --nvidia,--nec with --accel, update man page

Code Style Turtle / Code Formatting Test failed Mar 12, 2024 in 4s

Clang-Format Checker

Completed code style check

Details

Some files are not formatted according to your code style.

Annotations

Check failure on line 339 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L337-L339

-
-    accel_options.multi_option("accel", "Accelerator to record execution events for").metavar("ACCEL").optional();
-
+    accel_options.multi_option("accel", "Accelerator to record execution events for")
+        .metavar("ACCEL")
+        .optional();

Check failure on line 350 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L350

-

Check failure on line 492 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L490-L492

-      {
-        if(accel == "nec")
-          {
+    {
+        if (accel == "nec")
+        {

Check failure on line 496 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L494-L496

-          }
-        else if(accel == "nvidia")
-          {
+        }
+        else if (accel == "nvidia")
+        {

Check failure on line 498 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L498

-          }
+        }

Check failure on line 500 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L500

-          {
+        {

Check failure on line 504 in src/config.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/config.cpp#L503-L504

-          }
-      }
+        }
+    }

Check failure on line 84 in src/monitor/process_monitor_main.cpp

See this annotation in the file changed.

@code-style-turtle code-style-turtle / Code Formatting Test

src/monitor/process_monitor_main.cpp#L80-L84

-    if(config().use_nvidia)
-      {
-        env = { "CUDA_INJECTION64_PATH=" + cuda_path,
-                                     "LO2S_RINGBUF_SIZE=1024" };
-      }
+    if (config().use_nvidia)
+    {
+        env = { "CUDA_INJECTION64_PATH=" + cuda_path, "LO2S_RINGBUF_SIZE=1024" };
+    }