Click here to Skip to main content
15,912,756 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Dear oh dear Pin
dandy7223-Feb-20 2:50
dandy7223-Feb-20 2:50 
GeneralRe: Dear oh dear Pin
H.Brydon23-Feb-20 14:50
professionalH.Brydon23-Feb-20 14:50 
GeneralRe: Dear oh dear Pin
Clumpco23-Feb-20 23:49
Clumpco23-Feb-20 23:49 
GeneralRe: Dear oh dear Pin
FreedMalloc24-Feb-20 5:09
FreedMalloc24-Feb-20 5:09 
GeneralRe: Dear oh dear Pin
Sander Rossel24-Feb-20 0:25
professionalSander Rossel24-Feb-20 0:25 
GeneralRe: Dear oh dear Pin
phil.o24-Feb-20 6:09
professionalphil.o24-Feb-20 6:09 
GeneralCounting bus cycles and nanoseconds, part 2 Pin
CodeWraith23-Feb-20 0:49
CodeWraith23-Feb-20 0:49 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
Daniel Pfeffer23-Feb-20 1:05
professionalDaniel Pfeffer23-Feb-20 1:05 
Just an untested idea:
If you have a spare output pin and a spare input pin, you could connect them with RC (resistor + capacitor) circuit. When the output pin goes to 1, the voltage on the input should rise according to V * (1 - e-t/(R*C)). Check for when the input value changes. The number of cycles, R, C, and V should give you the answer.

If you want a real McGyver solution:
Take a piece of radioactive material with short half-life, place it on top of the memory, and use the processor to count the number of random bit flips induced per period of time. Knowing the half life, the rate of change in the number of bit flips will give you the length of the period of time, which (with the known number of cycles taken by the code) will give you the frequency. Big Grin | :-D
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
User 1106097923-Feb-20 1:39
User 1106097923-Feb-20 1:39 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
Daniel Pfeffer23-Feb-20 1:41
professionalDaniel Pfeffer23-Feb-20 1:41 
JokeRe: Counting bus cycles and nanosecons, part 2 Pin
User 1106097923-Feb-20 4:04
User 1106097923-Feb-20 4:04 
GeneralRe: Counting bus cycles and nanoseconds, part 2 Pin
CodeWraith23-Feb-20 1:40
CodeWraith23-Feb-20 1:40 
GeneralRe: Counting bus cycles and nanoseconds, part 2 Pin
Mircea Neacsu23-Feb-20 4:59
Mircea Neacsu23-Feb-20 4:59 
GeneralRe: Counting bus cycles and nanoseconds, part 2 Pin
CodeWraith23-Feb-20 6:06
CodeWraith23-Feb-20 6:06 
JokeRe: Counting bus cycles and nanosecons, part 2 Pin
Nelek23-Feb-20 1:45
protectorNelek23-Feb-20 1:45 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
honey the codewitch23-Feb-20 1:46
mvahoney the codewitch23-Feb-20 1:46 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
CodeWraith23-Feb-20 2:13
CodeWraith23-Feb-20 2:13 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
honey the codewitch23-Feb-20 2:49
mvahoney the codewitch23-Feb-20 2:49 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
CodeWraith23-Feb-20 4:04
CodeWraith23-Feb-20 4:04 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
honey the codewitch23-Feb-20 6:20
mvahoney the codewitch23-Feb-20 6:20 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
CodeWraith23-Feb-20 6:34
CodeWraith23-Feb-20 6:34 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
honey the codewitch23-Feb-20 6:35
mvahoney the codewitch23-Feb-20 6:35 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
CodeWraith23-Feb-20 7:01
CodeWraith23-Feb-20 7:01 
GeneralRe: Counting bus cycles and nanosecons, part 2 Pin
honey the codewitch23-Feb-20 7:23
mvahoney the codewitch23-Feb-20 7:23 
GeneralYou never really know an algorithm like you do after you optimize it Pin
honey the codewitch22-Feb-20 21:56
mvahoney the codewitch22-Feb-20 21:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.