1
00:00:00,150 --> 00:00:05,960
So let us try to understand an entire week that could be used to perform profiling with any set, right,

2
00:00:05,970 --> 00:00:09,130
so we started first, including an important driver, right?

3
00:00:09,150 --> 00:00:10,830
So we have a next smart card.

4
00:00:11,070 --> 00:00:13,410
This is the day we fight for our excitement.

5
00:00:13,860 --> 00:00:19,110
Ugandan experimental, which consist of all the hardware information to be declared to structure.

6
00:00:19,380 --> 00:00:22,950
First one is a config structure and then we have an instant structure, right?

7
00:00:23,340 --> 00:00:29,160
We declare our timeout any function which will perform initialization as well as a configuration of

8
00:00:29,160 --> 00:00:30,060
our time right?

9
00:00:30,480 --> 00:00:38,190
So first we call lookup config where we passed the device and then we call initialize where.

10
00:00:39,180 --> 00:00:42,850
We insist on fixed structure and the visa rate.

11
00:00:43,140 --> 00:00:48,900
So this two things will basically perform an initialization of a timer, and then we usually do not

12
00:00:48,900 --> 00:00:54,960
perform the check, whether initialization is successful or we also do not perform the cell test when

13
00:00:54,960 --> 00:00:57,300
we are utilizing a timer for a profile.

14
00:00:57,480 --> 00:00:57,600
Right.

15
00:00:57,990 --> 00:00:59,850
Then we proceed with the configuration.

16
00:00:59,850 --> 00:01:02,010
So first we call the stop function.

17
00:01:02,910 --> 00:01:08,790
Then we call the stop function, so this will basically stop our timer, and this will be our usual

18
00:01:08,790 --> 00:01:11,790
procedure when we work around with a timer or a counter, right?

19
00:01:12,240 --> 00:01:18,230
Then we read the existing option, which has been said by default in any timer, right?

20
00:01:18,420 --> 00:01:22,470
And then we update and operation of a timer, so we weren't operating it down.

21
00:01:22,860 --> 00:01:28,230
So whenever we work in a normal, we want to set the counter to the max value.

22
00:01:28,230 --> 00:01:33,790
That is possible because that allows us to calculate the longer time that our application could be.

23
00:01:33,820 --> 00:01:34,050
Right.

24
00:01:34,050 --> 00:01:41,070
So the excitement is, I'll say, 32 to the MAX on that record store, and the counter is basically

25
00:01:41,070 --> 00:01:42,800
to raise to 30 to minus one, right?

26
00:01:42,810 --> 00:01:47,250
Just give us discount rate, which is what we have updated over here.

27
00:01:47,410 --> 00:01:47,610
Right.

28
00:01:47,910 --> 00:01:51,880
So this allows us to calculate the longest delay, which is possible that is it out?

29
00:01:51,910 --> 00:01:56,830
What are you thinking of doing that you'll not be finding any application consuming that amount of time?

30
00:01:56,890 --> 00:01:57,040
Right.

31
00:01:57,060 --> 00:01:57,300
So.

32
00:01:58,460 --> 00:02:04,880
We'll make sure that once we add the max possible value of a counter label to calculate the longer delays

33
00:02:04,880 --> 00:02:10,320
also right, then we are resetting a timer and stopping the counter operation.

34
00:02:10,360 --> 00:02:15,350
Right now, the application that we'll be utilizing for our profiling is this one, right?

35
00:02:15,360 --> 00:02:16,880
So they'll print it and provide.

36
00:02:16,880 --> 00:02:21,950
This is the statement that we are saying you want to consult, and our agenda is to calculate the number

37
00:02:21,950 --> 00:02:27,200
of what it takes to sing this statement that is profiling to concentrate.

38
00:02:27,470 --> 00:02:35,210
So just before the application that is this is a statement just before the statement we call the start

39
00:02:35,210 --> 00:02:41,750
variable, which will store the value that are counter have against it today.

40
00:02:42,730 --> 00:02:46,840
To know the value of a counter act, the specific instance.

41
00:02:47,740 --> 00:02:52,270
We could just call a great value, so this will basically return the correct value of a counter.

42
00:02:52,280 --> 00:02:54,580
So what we are doing this is an application that we are.

43
00:02:55,750 --> 00:03:01,780
Filing suggest before it we are calculating the value of a counter right, so this function returns

44
00:03:01,780 --> 00:03:07,030
the value of a counter, which we are storing in the stock, then as we complete an execution of our

45
00:03:07,030 --> 00:03:10,690
application or this statement, we will just be calling an end.

46
00:03:11,110 --> 00:03:15,630
OK, that will store again the current value of a counter, right?

47
00:03:15,640 --> 00:03:21,700
So once we perform a subtraction of this to really well, to know the number of properties that we have

48
00:03:21,700 --> 00:03:28,300
right now, the entire counter is working in a normal OK, so we could clearly see stock will have a

49
00:03:28,330 --> 00:03:30,460
higher value as compared to a rate.

50
00:03:30,820 --> 00:03:36,400
When we compute the difference, it will be stock minus right and that will return the number of property.

51
00:03:36,670 --> 00:03:37,480
This makes sense.

52
00:03:37,780 --> 00:03:43,500
So we will first be bringing the number of properties that are deliberate to provide consumers right,

53
00:03:43,510 --> 00:03:47,840
and that will be simply by performing a subtraction between start any rate.

54
00:03:47,860 --> 00:03:53,830
So once that is done, we are required to compute the time in nanosecond as well as microsecond rate.

55
00:03:55,370 --> 00:03:59,350
Now, we already know the number of clock that will be simply to stack mindset.

56
00:03:59,870 --> 00:04:05,020
And if you multiply this with the clock, they will able to calculate the time right thing.

57
00:04:05,240 --> 00:04:11,060
I know the clock, but it will be simply an inverse of the clock frequency that we act when we say time,

58
00:04:11,070 --> 00:04:11,330
right?

59
00:04:11,570 --> 00:04:13,550
And we already know that the exact timer?

60
00:04:14,170 --> 00:04:14,510
OK.

61
00:04:14,600 --> 00:04:21,860
So if you just zoom in our blog to say so, we say timer work at a sexy clock and that is basically

62
00:04:21,860 --> 00:04:23,510
an output clocking.

63
00:04:23,510 --> 00:04:25,850
These are so clocking that I'd give out 100 megahertz.

64
00:04:26,120 --> 00:04:28,310
So we are operating at 10 nanosecond rate.

65
00:04:28,320 --> 00:04:30,880
So that is the single clock with a time, right?

66
00:04:31,970 --> 00:04:33,860
So here we have been this two.

67
00:04:34,920 --> 00:04:36,780
Minus it, OK, and then in.

68
00:04:36,900 --> 00:04:40,470
So to convert, this student has to minus name, we just need to multiply by 10.

69
00:04:40,500 --> 00:04:40,760
Right.

70
00:04:41,220 --> 00:04:43,110
This will give us endless Tennant.

71
00:04:43,110 --> 00:04:48,560
And then this two minus three and then two minus nine is basically the nanosecond rate.

72
00:04:48,560 --> 00:04:53,130
So whenever you are in a situation where you want to bring the time in nanosecond, you just need to

73
00:04:53,130 --> 00:04:54,960
multiply by the factor of 10, right?

74
00:04:55,170 --> 00:04:57,690
And that is what we are doing in the next step, right?

75
00:04:57,710 --> 00:05:00,510
So that time in nanosecond, but in 0d.

76
00:05:00,780 --> 00:05:04,890
And the factor that we are writing is stent growth stock minus it, right?

77
00:05:05,400 --> 00:05:08,240
And to calculate the value in microsecond.

78
00:05:08,590 --> 00:05:08,910
Right.

79
00:05:08,910 --> 00:05:11,730
So here we have two inches to minus eight.

80
00:05:11,760 --> 00:05:16,860
So if you just separate and minus two and minus six, so this will be giving this microsecond.

81
00:05:16,890 --> 00:05:20,310
And then there's two minus two will be giving a 0.01.

82
00:05:20,350 --> 00:05:20,610
Right?

83
00:05:20,850 --> 00:05:25,880
So if you just multiply the number of clock ticks with zero point zero one, we will be 60, be getting

84
00:05:26,100 --> 00:05:27,600
the time in microsecond rate.

85
00:05:27,610 --> 00:05:30,820
Again, we have a 13 point number, so we need to use three different.

86
00:05:30,840 --> 00:05:37,260
This is what we did over here, the last British sprinter, because we want to bring the floating point

87
00:05:37,260 --> 00:05:39,150
number the time in microsecond.

88
00:05:39,450 --> 00:05:44,760
But since zero f will be a format specified right, the factor is 0.01 start minus.

89
00:05:45,010 --> 00:05:52,200
Right now, remember to utilize Sprint, you should have the local memory of at least 128 GB in and

90
00:05:52,200 --> 00:05:52,770
microvilli.

91
00:05:52,770 --> 00:05:59,820
So while configuring a microvilli c that you select the local memory to be 128 GB when this is done

92
00:06:00,000 --> 00:06:02,850
will just be building up our application project, right?

93
00:06:03,120 --> 00:06:10,290
So that will generate Angella five for us, which will be utilizing to execute the code on an FPGA,

94
00:06:10,290 --> 00:06:10,530
right?

95
00:06:10,530 --> 00:06:11,790
Then we select.

96
00:06:12,900 --> 00:06:18,210
Our application project, right click Debug s launch on heart rate.

97
00:06:19,630 --> 00:06:25,450
So now will try to execute the code on two and FPGA rates, we have already connected our serial terminal

98
00:06:25,450 --> 00:06:27,640
to CommSec's to operate at night six zero zero.

99
00:06:29,360 --> 00:06:35,000
So now you could clearly see we have a profile seed money to the number of crafting that we can do is

100
00:06:35,000 --> 00:06:41,960
around 5:30 for the value in nanosecond is five three four zero nanosecond and value in microsecond

101
00:06:41,960 --> 00:06:43,610
is around five point eighty four.

102
00:06:43,640 --> 00:06:43,910
Right.

103
00:06:44,150 --> 00:06:50,690
So this is how we profile the single applications with the maximum profile time that we get out of 32

104
00:06:50,690 --> 00:06:53,000
bit timer is around 42 second rate.

105
00:06:53,390 --> 00:06:57,030
Would you not be finding any application consuming that much amount of time, right?

106
00:06:57,800 --> 00:07:03,140
Whenever you have a situation where you want to profile all the different functions that you have in

107
00:07:03,140 --> 00:07:07,050
your application, then we utilize an inverted feature that we get with NIST.

108
00:07:07,100 --> 00:07:07,340
Right.

109
00:07:07,340 --> 00:07:11,380
So now we'll start to discuss how we use NFC capable.
