1 /*
2 * Copyright (c) 1995-2018, NVIDIA CORPORATION. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17
18 /** \brief Profile initialization */
19 int
__fort_prof_init(void)20 __fort_prof_init(void)
21 {
22 return (0);
23 }
24
25 /** \brief Function entry */
26 void
__fort_prof_function_entry(int line,int lines,int cline,char * func,char * file,int funcl,int filel)27 __fort_prof_function_entry(int line, int lines, int cline, char *func,
28 char *file, int funcl, int filel)
29 {
30 }
31
32 /** \brief Line entry */
33 void
__fort_prof_line_entry(int line)34 __fort_prof_line_entry(int line /* current line number */)
35 {
36 }
37
38 /** \brief Update start receive message stats
39 * \param cpu: sending cpu
40 * \param len: total length in bytes
41 */
42 void
__fort_prof_recv(int cpu,long len)43 __fort_prof_recv(int cpu, long len)
44 {
45 }
46
47 /** \brief Update done receive message stats */
48 void
__fort_prof_recv_done(int cpu)49 __fort_prof_recv_done(int cpu /* sending cpu */)
50 {
51 }
52
53 /** \brief Update start send message stats
54 * \param cpu: receiving cpu
55 * \param len: total length in bytes
56 */
57 void
__fort_prof_send(int cpu,long len)58 __fort_prof_send(int cpu, long len)
59 {
60 }
61
62 /** \brief Update done send message stats */
63 void
__fort_prof_send_done(int cpu)64 __fort_prof_send_done(int cpu /* receiving cpu */)
65 {
66 }
67
68 /** \brief Update start bcopy message stats
69 * \param len: total length in bytes
70 */
71 void
__fort_prof_copy(long len)72 __fort_prof_copy(long len)
73 {
74 }
75
76 /** \brief Update done bcopy message stats */
77 void
__fort_prof_copy_done(void)78 __fort_prof_copy_done(void)
79 {
80 }
81
82 /** \brief Function exit */
83 void
__fort_prof_function_exit(void)84 __fort_prof_function_exit(void)
85 {
86 }
87
88 /** \brief Profile termination */
89 void
__fort_prof_term(void)90 __fort_prof_term(void)
91 {
92 }
93