.. | .. |
---|
1955 | 1955 | struct rga3_req req; |
---|
1956 | 1956 | int ret = 0; |
---|
1957 | 1957 | struct rga_scheduler_t *scheduler = NULL; |
---|
| 1958 | + ktime_t timestamp = ktime_get(); |
---|
1958 | 1959 | |
---|
1959 | 1960 | scheduler = job->scheduler; |
---|
1960 | 1961 | if (unlikely(scheduler == NULL)) { |
---|
.. | .. |
---|
1983 | 1984 | pr_err("RKA: gen reg info error\n"); |
---|
1984 | 1985 | return -EINVAL; |
---|
1985 | 1986 | } |
---|
| 1987 | + |
---|
| 1988 | + if (DEBUGGER_EN(TIME)) |
---|
| 1989 | + pr_info("request[%d], generate register cost time %lld us\n", |
---|
| 1990 | + job->request_id, ktime_us_delta(ktime_get(), timestamp)); |
---|
1986 | 1991 | |
---|
1987 | 1992 | return ret; |
---|
1988 | 1993 | } |
---|
.. | .. |
---|
2070 | 2075 | } |
---|
2071 | 2076 | |
---|
2072 | 2077 | if (DEBUGGER_EN(TIME)) |
---|
2073 | | - pr_info("set cmd use time = %lld\n", ktime_us_delta(now, job->timestamp)); |
---|
| 2078 | + pr_info("request[%d], set register cost time %lld us\n", |
---|
| 2079 | + job->request_id, ktime_us_delta(now, job->timestamp)); |
---|
2074 | 2080 | |
---|
2075 | 2081 | job->hw_running_time = now; |
---|
2076 | 2082 | job->hw_recoder_time = now; |
---|