Questions tagged [system-clock]

130 questions
0
votes
1 answer

Schedulling algorithm cpu time

I am trying to make a simulator for a scheduling algorithm in C using round robin and fcfs. I just have a few questions as I have tried to look it up and read the kernel commands but im still that confused :( This program is being done on…
-1
votes
0 answers

The debug hub core was not detected if I use System Clock

This is a Block Design in Xilinx Vivado on Arty A7-100T FPGA Development Board. Everything works well if I use a common clock port that is specified in Arty-A7-100-Master.xdc: ## Clock signal set_property -dict { PACKAGE_PIN E3 IOSTANDARD…
zzzhhh
  • 11
  • 4
-1
votes
1 answer

Why does the single cycle processor not incur register latency on both read and write?

I wonder why last register write latency(200) is not added? To be more precise, critical path is determined by load instruction's latency, so then why critical path is not I-Mem + Regs + Mux + ALU + D-Mem + MUX + Regs but is actually I-Mem + Regs…
-1
votes
1 answer

How to calculate nanoseconds from 1800

I'm trying to calculate the number of nano seconds that passed from: 11-Nov-1831 00:00:00.00 to a given date. I tried to use alot of packages but none of them succed in the mission (the closest was Instant) What's the best way to achive this…
emal
  • 11
  • 5
-1
votes
2 answers

How accurate are our stopwatch applications?

Recently I’m working on a stopwatch that counts milliseconds too. I read articles that it is not necessary to update the timer TextView more than every 1/10th of a second , since that’s the time our eyes can register a image . Is this how every…
Deeraj Theepshi
  • 183
  • 3
  • 10
-1
votes
1 answer

Variable set in SystemClock.uptimeMillis() can't be reset

Beg you pardon I'm a new developer. I am using SystemClock.uptimeMillis inside of Runnable to make it look like stopwatch. I took the stopwatch source code from google. Afterwards I make a modification every 30 seconds a variable (named price) will…
-1
votes
1 answer

Setting System Clock in licensing

I have developed a c# application that I wish to sell.You'll must be knowing that many people just reverse their system clock and keep using the software.How to prevent that any ideas?
Vivek Murli
  • 89
  • 11
-2
votes
1 answer

Good Licensing strategy for c# application

I have developed an application using c# and I wish to apply good and strong licensing to it so that it can be protected against cracks and that my clients can renew the license even if they change their system I had few doubts in mind 1.Can…
Vivek Murli
  • 89
  • 11
-3
votes
1 answer

What does system_clock::now() value after seconds represent in C++ 20?

I'm exploring the timestamp in C++ 20 returned from system_clock::now() and when I print out the returned std::chrono::time_point it prints the date and time in the format YYYY-MM-DD HH:MM:SS.xxxxxxx. Any idea what the xxxxxxx value is? I assumed…
Crystal
  • 65
  • 1
  • 6
-3
votes
1 answer

How to delay seconds in android?

I want to delay seconds and show Toast,I try to SystemClock.sleep But it only show last message("10s")... Toast.makeText(MainActivity.this,"1s", Toast.LENGTH_SHORT).show(); SystemClock.sleep(5000); Toast.makeText(MainActivity.this,"5s",…
Ban Lin
  • 95
  • 2
  • 10
1 2 3
8
9