Skip to content

检测速度比较慢,CPU利用率不高,请问如何自定义? #52

Open

Description

@yangyunzhao

首先非常感谢这么棒的工具,帮我提前发现了很多很多问题。但是使用中,有一个非常大的不便

我使用windows的gui版本,线程数只能选择1到4
但是现在普通人的电脑都有8核,我用的工作站,有40核。
目前我检查一次代码要5个多小时,CPU使用率10%左右。

请问如何修改这个线程数的最大上限呢?谢谢

Activity

  1. ben620 commented on Feb 2, 2021

    @ben620
    Collaborator

    直接使用命令行, 参数加上 -j 线程数.
    例如 tscancode.exe -j 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions